WPBC_Settings_API D

Total Complexity 206
Dependencies 0
Dependents 37
Total lines 1,856
Lines of code 1,004
Logical lines of code 464
Comment lines 550
Methods 58
Properties 6

Methods 58

Method Rating Maintainability Complexity Lines of code
field_select_row_static()
B
37 15 84
field_checkbox_row_static()
A
39 9 72
field_radio_row_static()
A
40 9 68
generate_settings_rows()
A
52 11 23
field_textarea_row_static()
A
40 7 68
field_wp_textarea_row_static()
A
39 6 73
validate_post()
A
50 9 28
field_help_row_static()
A
46 7 45
field_text_row_static()
A
43 6 54
define_fields_values_from_db()
S
51 7 29
field_color_row_static()
S
44 5 52
enqueue_validate_js()
S
53 6 21
save_to_db()
S
55 5 18
deactivate()
S
57 5 16
define_fields_values()
S
58 5 16
activate()
S
57 5 16
field_html_row_static()
S
52 4 27
label_static()
S
57 4 16
validate_text_post_static()
S
60 4 14
field_hr_row_static()
S
55 3 22
field_js_row_static()
S
58 3 18
get_custom_attr_static()
S
63 4 9
field_pure_html_row_static()
S
60 3 14
validate_select_post_static()
S
62 3 11
__construct()
S
58 2 16
get_default_values()
S
64 3 10
set_values_to_fields()
S
68 3 7
validate_checkbox_post_static()
S
67 3 7
description_static()
S
70 3 5
get_field_value()
S
72 3 5
validate_textarea_post_static()
S
59 2 14
field_html_row()
S
70 2 6
validate_email_post_static()
S
68 2 7
field_radio_row()
S
70 2 6
field_wp_textarea_row()
S
70 2 6
field_textarea_row()
S
70 2 6
field_color_row()
S
70 2 6
get_form_fields()
S
72 2 6
field_checkbox_row()
S
70 2 6
field_select_row()
S
70 2 6
field_js_row()
S
70 2 6
field_pure_html_row()
S
70 2 6
set_field_value()
S
73 2 5
field_help_row()
S
70 2 6
field_text_row()
S
70 2 6
field_hr_row()
S
70 2 6
init_settings_fields()
S
100 1 0
show()
S
75 1 6
validate_radio_post_static()
S
79 1 3
validate_radio_post()
S
80 1 3
validate_checkbox_post()
S
80 1 3
validate_select_post()
S
80 1 3
validate_text_post()
S
80 1 3
validate_wp_textarea_post_static()
S
79 1 3
validate_wp_textarea_post()
S
80 1 3
validate_email_post()
S
80 1 3
get_id()
S
82 1 3
validate_textarea_post()
S
80 1 3