Clerk_Rest_Api D

Total Complexity 305
Dependencies 11
Dependents 0
Total lines 1,987
Lines of code 1,362
Logical lines of code 754
Comment lines 250
Methods 31
Properties 3

Methods 31

Method Rating Maintainability Complexity Lines of code
product_endpoint_callback()
D
8
93 342
order_endpoint_callback()
B
36 19 71
query_custom_fields()
B
41 18 54
page_endpoint_callback()
B
38 16 63
validate_request()
B
42 17 48
pagertu_endpoint_callback()
A
37 14 70
setconfig_endpoint_callback()
A
34 10 99
customer_endpoint_callback()
A
41 11 50
category_endpoint_callback()
A
42 11 49
getconfig_endpoint_callback()
A
36 8 87
rest_pre_serve_request()
A
47 9 35
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
38 1 110
rotatekey_endpoint_callback()
S
48 5 31
get_additional_fields()
S
56 5 18
trim_whitespace_in_attribute()
S
56 5 18
get_header_token()
S
57 5 16
get_additional_fields_raw()
S
57 4 17
version_endpoint_callback()
S
54 3 20
validate_page()
S
64 4 9
force_language_context()
S
70 4 6
plugin_endpoint_callback()
S
58 3 14
timing_safe_equals()
S
61 3 12
get_unathorized_response()
S
58 2 17
__construct()
S
63 2 11
init_hooks()
S
74 1 4
clerk_friendly_attributes()
S
66 1 8
__ini()
S
77 1 4