REST_API_v1_Controller S

Total Complexity 45
Dependencies 4
Dependents 0
Total lines 577
Lines of code 346
Logical lines of code 123
Comment lines 174
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
register_routes()
A
31 1 175
getProducts()
S
56 3 17
getMyself()
S
58 3 15
verifyHeaderAndTokenPermissionCallback()
S
62 4 10
verifyHeaderPermissionCallback()
S
69 3 6
ratingMaxFiveValidateCallback()
S
77 3 3
numericCSVValidateCallback()
S
68 3 7
getCustomerOrders()
S
58 2 15
createCustomer()
S
58 2 15
getProductCategories()
S
59 2 14
getToken()
S
61 2 12
getCustomer()
S
62 2 11
getProduct()
S
62 2 11
textRequiredValidateCallback()
S
78 2 3
orderSanitizeCallback()
S
78 2 3
orderBySanitizeCallback()
S
77 2 3
numericPositiveValidateCallback()
S
79 2 3
orderValidateCallback()
S
78 1 3
__construct()
S
68 1 7
returnCSVArraySanitizeCallback()
S
73 1 5
verifyAuthorization()
S
80 1 3
orderByValidateCallback()
S
72 1 5