Clerk_Rest_Api D

Total Complexity 275
Dependencies 11
Dependents 0
Total lines 1,819
Lines of code 1,237
Logical lines of code 678
Comment lines 236
Methods 30
Properties 2

Methods 30

Method Rating Maintainability Complexity Lines of code
product_endpoint_callback()
D
9
87 325
order_endpoint_callback()
B
35 22 75
page_endpoint_callback()
B
38 16 64
query_custom_fields()
B
42 16 51
setconfig_endpoint_callback()
A
34 10 101
category_endpoint_callback()
A
42 11 48
getconfig_endpoint_callback()
A
36 8 87
customer_endpoint_callback()
A
43 9 43
rest_pre_serve_request()
A
48 9 34
validate_request()
A
50 8 28
resolve_attribute_product()
A
54 8 20
format_attribute()
S
57 8 15
validate_jwt()
S
52 7 23
resolve_unit_measure()
S
53 7 21
add_rest_api_routes()
S
39 1 101
get_header_token()
S
56 6 16
rotatekey_endpoint_callback()
S
48 5 31
get_additional_fields()
S
55 5 18
trim_whitespace_in_attribute()
S
56 5 18
get_additional_fields_raw()
S
57 4 17
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
__construct()
S
64 2 10
init_hooks()
S
74 1 4
clerk_friendly_attributes()
S
66 1 8
__ini()
S
77 1 4