-
Home
-
Swipecart
-
2.8.6 (latest)
-
Code
-
Classes
- APIClass
| Total Complexity |
237 |
| Dependencies |
11 |
| Dependents |
5 |
| Total lines |
1,906 |
| Lines of code |
1,325 |
| Logical lines of code |
729 |
| Comment lines |
313 |
| Methods |
45 |
| Properties |
0 |
Methods 45
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| getProductByID() |
D |
26 |
31 |
145 |
| getProductListByID() |
C |
33 |
25 |
91 |
| getOrderByID() |
B |
34 |
19 |
81 |
| getProducts() |
A |
41 |
13 |
55 |
| getReviewsByProductId() |
A |
39 |
12 |
65 |
| getSiteData() |
A |
32 |
7 |
114 |
| getCartLineByID() |
A |
43 |
10 |
45 |
| webhookCRUD() |
A |
48 |
9 |
33 |
| tokenValidation() |
A |
47 |
8 |
34 |
| ChangeProfile() |
A |
52 |
8 |
23 |
| addProductReview() |
A |
46 |
7 |
37 |
| getRecommendedProducts() |
S |
49 |
6 |
30 |
| generateCart() |
S |
47 |
5 |
37 |
| getCustomerByID() |
S |
43 |
4 |
50 |
| getOrders() |
S |
52 |
5 |
24 |
| generateCheckout() |
S |
49 |
4 |
30 |
| getAllCollectionsCategories() |
S |
56 |
4 |
18 |
| getReviewById() |
S |
57 |
4 |
15 |
| deleteUser() |
S |
59 |
4 |
15 |
| SignIn() |
S |
51 |
3 |
27 |
| customerSignUp() |
S |
52 |
3 |
26 |
| getPublicSiteData() |
S |
42 |
1 |
54 |
| updateProductReview() |
S |
54 |
3 |
21 |
| getAddresses() |
S |
49 |
2 |
33 |
| nonceValidation() |
S |
58 |
3 |
16 |
| getCollectionByID() |
S |
57 |
3 |
15 |
| getPlugins() |
S |
58 |
3 |
15 |
| updateAddress() |
S |
50 |
2 |
26 |
| getAvailableLanguages() |
S |
56 |
2 |
19 |
| getParentProductIdByVarientId() |
S |
64 |
3 |
10 |
| deleteProductReview() |
S |
67 |
3 |
7 |
| checkUserEmailExist() |
S |
71 |
3 |
5 |
| forgotPassword() |
S |
58 |
2 |
15 |
| getAttributeTerms() |
S |
56 |
1 |
19 |
| currency() |
S |
66 |
2 |
8 |
| getPostCount() |
S |
72 |
2 |
5 |
| getMultilingualPlugins() |
S |
71 |
2 |
6 |
| getPointsAndRewardsPlugins() |
S |
71 |
2 |
6 |
| getProductFilters() |
S |
64 |
1 |
11 |
| __construct() |
S |
82 |
1 |
3 |
| storeFrontToken() |
S |
73 |
1 |
5 |
| GetProductsByVarientId() |
S |
65 |
1 |
9 |
| GetProductsByIds() |
S |
66 |
1 |
9 |
| GetCollectionsByIds() |
S |
66 |
1 |
9 |
| getTermCount() |
S |
76 |
1 |
4 |