NMGR_Form D

Total Complexity 231
Dependencies 5
Dependents 4
Total lines 1,232
Lines of code 808
Logical lines of code 367
Comment lines 265
Methods 39
Properties 8

Methods 39

Method Rating Maintainability Complexity Lines of code
get_fields()
D
16
53 297
validate()
D
32 38 88
get_fields_html()
C
33 29 83
modify_form_fields()
B
45 19 39
set_defaults()
A
49 11 30
sanitize()
S
51 7 26
set_values()
S
56 6 17
remove_prefix()
S
59 6 13
add_prefix()
S
61 5 11
get_shipping_fields()
S
55 4 18
remove_optional_required_html()
S
63 5 9
create_radio_group_field()
S
49 3 28
create_custom_checkbox_switch()
S
55 3 18
__construct()
S
68 4 7
get_submit_button()
S
61 3 13
get_error_messages()
S
67 3 9
set_data()
S
66 3 8
get_wishlist_value()
S
66 3 8
verify_nonce()
S
67 3 7
replace_name_attribute()
S
68 3 6
__get()
S
69 2 6
get_nonce_field()
S
78 1 3
get_hidden_fields()
S
71 1 5
add_error_field()
S
75 1 4
get_nonce_key()
S
81 1 3
get_error_fields()
S
75 1 4
add_error_message()
S
80 1 3
run()
S
65 1 8
has_errors()
S
80 1 3
get_nonce()
S
75 1 4
get_data()
S
82 1 3
get_fields_error_messages()
S
82 1 3
get_wishlist()
S
82 1 3
has_fields()
S
81 1 3
create_checkbox_switch()
S
78 1 3
create_hidden_field()
S
73 1 4
get_type()
S
82 1 3
set_type()
S
80 1 3
save()
S
74 1 5