Clerk_Rest_Api D

Total Complexity 231
Dependencies 8
Dependents 0
Total lines 1,587
Lines of code 1,071
Logical lines of code 565
Comment lines 175
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
product_endpoint_callback()
D
6
103 363
order_endpoint_callback()
B
35 22 75
page_endpoint_callback()
B
38 16 64
setconfig_endpoint_callback()
A
34 10 101
getconfig_endpoint_callback()
A
36 8 87
customer_endpoint_callback()
A
44 9 40
category_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
trim_whitespace_in_attribute()
S
56 5 18
get_additional_fields_raw()
S
57 4 17
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