THWCFD_Utils D

Total Complexity 132
Dependencies 1
Dependents 6
Total lines 454
Lines of code 368
Logical lines of code 187
Comment lines 19
Methods 36
Properties 0

Methods 36

Method Rating Maintainability Complexity Lines of code
get_option_text()
A
50 16 26
prepare_options_array()
A
54 9 20
get_fields()
S
53 7 20
get_max_priority()
S
62 6 10
get_checkout_fields()
S
60 5 13
is_wc_handle_custom_field()
S
60 5 12
prepare_field_priority()
S
62 5 11
prepare_options_json()
S
61 4 12
write_log()
S
65 4 9
is_enabled()
S
67 4 7
is_active_custom_field()
S
68 4 7
sort_fields_by_order()
S
68 4 6
woo_version_check()
S
65 4 9
setup_advanced_settings()
S
60 3 13
is_default_field_name()
S
60 3 12
is_reserved_field_name()
S
60 3 12
is_default_field()
S
62 3 11
get_allowed_html()
S
50 1 36
get_settings()
S
68 3 7
is_address_field()
S
63 3 10
get_wc_version()
S
66 3 9
et()
S
64 3 10
t()
S
64 3 10
is_custom_field()
S
68 3 7
wcfd_version_check()
S
70 3 6
prepare_field_options()
S
69 3 6
get_setting_value()
S
70 3 6
wcfd_capability()
S
66 2 8
is_valid_field()
S
69 2 7
get_advanced_settings()
S
71 2 5
is_blank()
S
78 2 3
get_order_id()
S
66 2 9
prepare_default_fields()
S
65 2 9
update_fields()
S
74 1 4
sort_fields()
S
76 1 4
__construct()
S
91 1 2