-
Home
-
NM Gift Registry and Wishlist Lite
-
3.0.1
-
Code
-
Classes
- NMGR_Form
| Total Complexity |
226 |
| Dependencies |
4 |
| Dependents |
6 |
| Total lines |
1,197 |
| Lines of code |
770 |
| Logical lines of code |
358 |
| Comment lines |
278 |
| Methods |
36 |
| Properties |
6 |
Methods 36
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_fields() |
D |
16 |
57 |
273 |
| validate() |
D |
32 |
37 |
91 |
| get_fields_html() |
C |
33 |
29 |
83 |
| modify_form_fields() |
B |
45 |
19 |
39 |
| set_defaults() |
A |
49 |
11 |
30 |
| sanitize() |
A |
49 |
8 |
31 |
| remove_prefix() |
S |
57 |
7 |
15 |
| set_values() |
S |
57 |
5 |
17 |
| 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 |
| __construct() |
S |
74 |
3 |
4 |
| create_custom_checkbox_switch() |
S |
57 |
2 |
15 |
| get_wishlist_value() |
S |
66 |
3 |
8 |
| get_error_messages() |
S |
67 |
3 |
9 |
| verify_nonce() |
S |
67 |
3 |
7 |
| __get() |
S |
69 |
2 |
6 |
| set_data() |
S |
73 |
2 |
4 |
| get_submit_button() |
S |
66 |
2 |
9 |
| run() |
S |
67 |
1 |
7 |
| create_hidden_field() |
S |
73 |
1 |
4 |
| create_checkbox_switch() |
S |
78 |
1 |
3 |
| has_fields() |
S |
81 |
1 |
3 |
| get_wishlist() |
S |
82 |
1 |
3 |
| has_errors() |
S |
80 |
1 |
3 |
| get_fields_error_messages() |
S |
82 |
1 |
3 |
| get_data() |
S |
82 |
1 |
3 |
| get_nonce() |
S |
75 |
1 |
4 |
| get_nonce_field() |
S |
78 |
1 |
3 |
| get_nonce_key() |
S |
81 |
1 |
3 |
| get_hidden_fields() |
S |
66 |
1 |
8 |
| add_error_field() |
S |
75 |
1 |
4 |
| get_error_fields() |
S |
75 |
1 |
4 |
| add_error_message() |
S |
80 |
1 |
3 |
| save() |
S |
74 |
1 |
5 |