Clerk_Rest_Api D

Total Complexity 153
Dependencies 7
Dependents 0
Total lines 1,035
Lines of code 618
Logical lines of code 378
Comment lines 102
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
product_endpoint_callback()
D
16
68 236
order_endpoint_callback()
B
36 20 69
page_endpoint_callback()
A
38 14 69
category_endpoint_callback()
A
44 9 40
customer_endpoint_callback()
A
45 9 38
rest_pre_serve_request()
A
50 8 26
getAdditionalFields()
S
57 4 16
validateRequest()
S
58 4 14
version_endpoint_callback()
S
55 3 18
ValidatePage()
S
64 4 9
plugin_endpoint_callback()
S
58 3 14
add_rest_api_routes()
S
50 1 34
getUnathorizedResponse()
S
59 2 15
initHooks()
S
74 1 4
clerk_friendly_attributes()
S
68 1 7
__ini()
S
77 1 4
__construct()
S
73 1 5