REST_API_v1_Controller B

Total Complexity 89
Dependencies 5
Dependents 0
Total lines 1,318
Lines of code 863
Logical lines of code 295
Comment lines 328
Methods 41
Properties 0

Methods 41

Method Rating Maintainability Complexity Lines of code
register_routes()
B
22
1 384
ChangeProfile()
S
50 6 28
TelValidateCallback()
S
59 5 14
ChangePassword()
S
52 4 24
generateCheckout()
S
53 4 22
updateAddress()
S
48 3 32
getProducts()
S
53 3 22
GetProductsByCollectionId()
S
54 3 21
getAddresses()
S
54 3 21
cartVariationValidateCallback()
S
69 4 6
customerSignUp()
S
53 2 24
getAllCollectionsCategories()
S
56 2 19
getOrders()
S
55 2 19
SearchProducts()
S
56 2 18
SignIn()
S
57 2 17
GetProductById()
S
58 2 16
forgotPassword()
S
58 2 16
GetProductsByIds()
S
58 2 16
GetCollectionsByIds()
S
58 2 16
ratingMaxFiveValidateCallback()
S
77 3 3
numericCSVValidateCallback()
S
68 3 7
GetProductsByVarientId()
S
59 2 15
getOrderById()
S
59 2 15
verifyAccessTokenPermissionCallback()
S
67 2 7
numericPositiveArraySanitizeCallback()
S
68 2 7
orderSanitizeCallback()
S
78 2 3
orderBySanitizeCallback()
S
77 2 3
textRequiredValidateCallback()
S
78 2 3
numericPositiveValidateCallback()
S
79 2 3
verifyHeaderPermissionCallback()
S
69 2 6
orderValidateCallback()
S
78 1 3
addressIDValidateCallback()
S
72 1 5
lineItemsArrayValidateCallback()
S
80 1 3
__construct()
S
70 1 6
numericPositiveArrayValidateCallback()
S
80 1 3
cartVariationSanitizeCallback()
S
66 1 9
TelSanitizeCallback()
S
72 1 5
lineItemsArraySanitizeCallback()
S
66 1 9
returnCSVArraySanitizeCallback()
S
73 1 5
verifyAuthorization()
S
80 1 3
orderByValidateCallback()
S
72 1 5