-
Home
-
NM Gift Registry and Wishlist Lite
-
2.5
-
Code
-
Classes
- NMGR_Form
Total Complexity |
167 |
Dependencies |
5 |
Dependents |
7 |
Total lines |
901 |
Lines of code |
524 |
Logical lines of code |
304 |
Comment lines |
258 |
Methods |
28 |
Properties |
4 |
Methods 28
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validate() |
C |
36 |
31 |
65 |
get_fields() |
C |
28 |
24 |
146 |
get_fields_html() |
B |
37 |
23 |
63 |
modify_form_fields() |
B |
46 |
17 |
38 |
set_defaults() |
A |
49 |
11 |
30 |
sanitize() |
A |
49 |
8 |
31 |
remove_prefix() |
S |
57 |
7 |
15 |
get_shipping_fields() |
S |
54 |
5 |
20 |
add_prefix() |
S |
61 |
5 |
11 |
set_values() |
S |
59 |
4 |
15 |
remove_optional_required_html() |
S |
63 |
5 |
9 |
create_checkbox_switch() |
S |
58 |
3 |
14 |
get_wishlist_value() |
S |
66 |
3 |
8 |
verify_nonce() |
S |
73 |
3 |
4 |
__construct() |
S |
74 |
3 |
4 |
set_data() |
S |
73 |
2 |
4 |
has_errors() |
S |
78 |
2 |
3 |
get_hidden_fields() |
S |
69 |
1 |
7 |
get_nonce() |
S |
78 |
1 |
3 |
get_submit_button() |
S |
78 |
1 |
3 |
run() |
S |
68 |
1 |
6 |
get_data() |
S |
82 |
1 |
3 |
get_error_messages() |
S |
81 |
1 |
3 |
get_error() |
S |
75 |
1 |
4 |
get_wishlist() |
S |
82 |
1 |
3 |
has_fields() |
S |
81 |
1 |
3 |
create_hidden_field() |
S |
73 |
1 |
4 |
save() |
S |
74 |
1 |
5 |