-
Home
-
Swipecart
-
2.8.1
-
Code
-
Classes
- APIClass
Total Complexity |
236 |
Dependencies |
11 |
Dependents |
5 |
Total lines |
1,900 |
Lines of code |
1,320 |
Logical lines of code |
725 |
Comment lines |
312 |
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 |
35 |
19 |
79 |
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 |
deleteUser() |
S |
59 |
4 |
15 |
getReviewById() |
S |
57 |
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 |
getPlugins() |
S |
58 |
3 |
15 |
getCollectionByID() |
S |
57 |
3 |
15 |
updateAddress() |
S |
50 |
2 |
26 |
getAvailableLanguages() |
S |
56 |
2 |
19 |
forgotPassword() |
S |
58 |
2 |
15 |
deleteProductReview() |
S |
67 |
3 |
7 |
getParentProductIdByVarientId() |
S |
64 |
3 |
10 |
checkUserEmailExist() |
S |
71 |
3 |
5 |
getAttributeTerms() |
S |
56 |
1 |
19 |
getPostCount() |
S |
72 |
2 |
5 |
getMultilingualPlugins() |
S |
71 |
2 |
6 |
getPointsAndRewardsPlugins() |
S |
71 |
2 |
6 |
getProductFilters() |
S |
64 |
1 |
11 |
storeFrontToken() |
S |
73 |
1 |
5 |
GetCollectionsByIds() |
S |
66 |
1 |
9 |
GetProductsByIds() |
S |
66 |
1 |
9 |
GetProductsByVarientId() |
S |
65 |
1 |
9 |
getTermCount() |
S |
76 |
1 |
4 |
currency() |
S |
72 |
1 |
5 |
__construct() |
S |
81 |
1 |
3 |