Clerk_Rest_Api D

Total Complexity 183
Dependencies 8
Dependents 0
Total lines 1,301
Lines of code 805
Logical lines of code 473
Comment lines 142
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
product_endpoint_callback()
D
13
74 269
order_endpoint_callback()
B
36 21 73
page_endpoint_callback()
B
36 18 80
setconfig_endpoint_callback()
A
34 10 97
category_endpoint_callback()
A
44 9 40
customer_endpoint_callback()
A
44 9 40
rest_pre_serve_request()
A
50 8 26
getconfig_endpoint_callback()
S
54 6 19
getAdditionalFields()
S
57 4 16
validateRequest()
S
58 4 14
add_rest_api_routes()
S
45 1 52
version_endpoint_callback()
S
55 3 18
ValidatePage()
S
64 4 9
plugin_endpoint_callback()
S
58 3 14
getUnathorizedResponse()
S
59 2 15
clerk_filter_null_attributes()
S
78 3 3
initHooks()
S
74 1 4
clerk_friendly_attributes()
S
68 1 7
__ini()
S
77 1 4
__construct()
S
73 1 5