REST_API_v1_Controller B

Total Complexity 79
Dependencies 5
Dependents 0
Total lines 1,209
Lines of code 792
Logical lines of code 266
Comment lines 301
Methods 37
Properties 0

Methods 37

Method Rating Maintainability Complexity Lines of code
register_routes()
B
23
1 365
ChangeProfile()
S
49 7 30
TelValidateCallback()
S
59 5 14
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
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
GetCollectionsByIds()
S
58 2 16
GetProductsByIds()
S
58 2 16
GetProductById()
S
58 2 16
forgotPassword()
S
58 2 16
getOrderById()
S
59 2 15
numericCSVValidateCallback()
S
68 3 7
ratingMaxFiveValidateCallback()
S
77 3 3
verifyHeaderPermissionCallback()
S
69 2 6
verifyAccessTokenPermissionCallback()
S
67 2 7
numericPositiveArraySanitizeCallback()
S
68 2 7
orderSanitizeCallback()
S
78 2 3
orderBySanitizeCallback()
S
77 2 3
numericPositiveValidateCallback()
S
79 2 3
textRequiredValidateCallback()
S
78 2 3
orderValidateCallback()
S
78 1 3
addressIDValidateCallback()
S
72 1 5
__construct()
S
70 1 6
lineItemsArrayValidateCallback()
S
80 1 3
numericPositiveArrayValidateCallback()
S
80 1 3
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