WFFN_REST_CHECKOUT_API_EndPoint D

Total Complexity 448
Dependencies 7
Dependents 0
Total lines 2,522
Lines of code 2,101
Logical lines of code 972
Comment lines 43
Methods 35
Properties 2

Methods 35

Method Rating Maintainability Complexity Lines of code
format_optimizations_data()
D
4
63 737
format_checkout_fieldset()
D
27
46 121
save_checkout_form_fields()
D
29
46 104
get_checkout_form_fields()
C
31 26 103
checkout_fetch_fields()
C
36 28 70
wfacp_add_product()
B
35 19 77
add_checkout_field()
B
36 18 74
get_checkout_products()
B
34 15 86
wfacp_save_products()
A
41 15 50
affix_fields_options_from_meta()
A
44 15 41
save_optimizations()
A
41 12 56
prepare_field_options()
A
49 14 26
wfacp_remove_product()
A
47 13 31
format_fields_options()
A
50 12 29
normalize_address_order()
A
50 12 25
affix_fields_options()
A
48 11 29
register_endpoint()
A
32 1 167
get_field_details()
A
48 9 31
fetch_address_order()
A
52 9 23
remove_checkout_field()
A
50 8 27
hide_checkout_msg()
S
51 7 27
strip_fieldset_before_save()
S
57 7 16
rectify_fields_options()
S
53 6 23
get_address_field_label()
S
54 6 21
checkout_optimizations()
S
47 5 35
wfacp_save_design_config()
S
54 5 19
checkout_field_label()
S
62 5 10
get_option_key()
S
62 4 9
prepare_post_address_fields()
S
67 2 6
get_product_switcher_data()
S
71 2 6
sanitize_custom()
S
68 2 7
get_instance()
S
72 2 6
get_write_api_permission_check()
S
79 1 3
get_read_api_permission_check()
S
79 1 3
__construct()
S
78 1 3