Clerk_Rest_Api D

Total Complexity 216
Dependencies 8
Dependents 0
Total lines 1,480
Lines of code 1,004
Logical lines of code 529
Comment lines 165
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
product_endpoint_callback()
D
8
97 335
order_endpoint_callback()
B
35 22 75
page_endpoint_callback()
B
38 16 64
setconfig_endpoint_callback()
A
34 10 99
getconfig_endpoint_callback()
A
36 8 85
category_endpoint_callback()
A
44 9 40
customer_endpoint_callback()
A
44 9 40
rest_pre_serve_request()
A
48 9 34
validate_request()
A
49 9 29
add_rest_api_routes()
S
40 1 92
get_additional_fields()
S
57 4 16
version_endpoint_callback()
S
54 3 20
validate_page()
S
64 4 9
plugin_endpoint_callback()
S
58 3 14
timing_safe_equals()
S
61 3 12
get_unathorized_response()
S
58 2 17
clerk_filter_null_attributes()
S
78 3 3
init_hooks()
S
74 1 4
clerk_friendly_attributes()
S
68 1 7
__ini()
S
77 1 4
__construct()
S
73 1 5