WVS_Settings_API D

Total Complexity 172
Dependencies 1
Dependents 1
Total lines 783
Lines of code 539
Logical lines of code 313
Comment lines 32
Methods 46
Properties 12

Methods 46

Method Rating Maintainability Complexity Lines of code
settings_init()
A
45 12 37
number_field_callback()
A
57 12 12
do_settings_fields()
A
47 10 32
array2html_attr()
A
54 10 19
field_callback()
A
51 8 29
do_settings_sections()
A
54 8 20
get_option()
A
55 8 18
get_last_active_tab()
A
56 8 18
settings_form()
A
45 6 46
add_admin_bar()
S
48 6 34
set_defaults()
S
56 7 17
save_reserved()
S
61 4 13
select_field_callback()
S
58 4 12
__construct()
S
50 3 26
text_field_callback()
S
64 4 8
sanitize_callback()
S
66 4 8
pro_field_callback()
S
60 3 13
post_select_field_callback()
S
60 3 11
get_field_description()
S
63 3 10
get_reserved()
S
66 3 8
color_field_callback()
S
66 3 7
make_implode_html_attributes()
S
63 3 10
is_show_pro()
S
77 3 3
is_reset_all()
S
77 3 3
get_options_tab_pro_attr()
S
72 3 4
radio_field_callback()
S
59 2 12
add_menu()
S
62 2 11
get_options_tab_css_classes()
S
70 2 5
build_dependency()
S
67 2 7
show_pro_label_tag()
S
75 2 5
options_tabs()
S
66 2 9
checkbox_field_callback()
S
67 2 6
get_default()
S
78 2 3
plugin_action_links()
S
65 2 8
admin_inline_js()
S
68 1 15
show_pro_label_tag_content()
S
75 2 5
update_option()
S
72 1 5
reset_url()
S
77 1 3
settings_url()
S
78 1 3
last_tab_input()
S
79 1 3
get_options()
S
80 1 3
delete_settings()
S
75 1 4
get_defaults()
S
82 1 3
set_default()
S
77 1 3
after_update()
S
82 1 3
before_update()
S
72 1 5