WFFN_REST_CHECKOUT_API_EndPoint D

Total Complexity 467
Dependencies 8
Dependents 0
Total lines 2,794
Lines of code 2,344
Logical lines of code 1,030
Comment lines 45
Methods 36
Properties 2

Methods 36

Method Rating Maintainability Complexity Lines of code
format_optimizations_data()
D
1
72 864
save_checkout_form_fields()
D
27
50 114
format_checkout_fieldset()
D
27
48 123
get_checkout_form_fields()
D
24
27 189
checkout_fetch_fields()
C
36 28 70
get_checkout_products()
B
32 19 98
wfacp_add_product()
B
35 19 79
add_checkout_field()
B
36 19 75
wfacp_save_products()
A
41 15 51
affix_fields_options_from_meta()
A
43 15 42
prepare_field_options()
A
49 14 26
save_optimizations()
A
42 12 50
wfacp_remove_product()
A
47 13 31
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 10 31
fetch_address_order()
A
52 9 23
remove_checkout_field()
A
50 8 27
format_fields_options()
A
52 8 24
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 20
checkout_field_label()
S
62 5 10
get_option_key()
S
62 4 9
get_instance()
S
72 2 6
get_product_switcher_data()
S
71 2 6
sanitize_custom()
S
68 2 7
prepare_post_address_fields()
S
67 2 6
get_smart_button_positions()
S
62 1 11
get_write_api_permission_check()
S
79 1 3
get_read_api_permission_check()
S
79 1 3
__construct()
S
78 1 3