THWCFD_Utils D

Total Complexity 134
Dependencies 1
Dependents 12
Total lines 481
Lines of code 394
Logical lines of code 190
Comment lines 19
Methods 37
Properties 0

Methods 37

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
get_allowed_html()
S
45 1 56
is_enabled()
S
67 4 7
woo_version_check()
S
65 4 9
is_active_custom_field()
S
68 4 7
write_log()
S
65 4 9
sort_fields_by_order()
S
68 4 6
setup_advanced_settings()
S
60 3 13
is_reserved_field_name()
S
60 3 12
is_default_field_name()
S
60 3 12
is_default_field()
S
62 3 11
wcfd_version_check()
S
70 3 6
t()
S
64 3 10
get_wc_version()
S
66 3 9
et()
S
64 3 10
prepare_field_options()
S
69 3 6
get_setting_value()
S
70 3 6
is_custom_field()
S
68 3 7
is_address_field()
S
63 3 10
get_settings()
S
68 3 7
convert_string_to_array()
S
70 2 6
get_advanced_settings()
S
71 2 5
is_blank()
S
78 2 3
get_order_id()
S
66 2 9
wcfd_capability()
S
66 2 8
prepare_default_fields()
S
65 2 9
is_valid_field()
S
69 2 7
sort_fields()
S
76 1 4
update_fields()
S
74 1 4
__construct()
S
91 1 2