WVS_Settings_API D

Total Complexity 164
Dependencies 1
Dependents 1
Total lines 754
Lines of code 512
Logical lines of code 297
Comment lines 31
Methods 44
Properties 10

Methods 44

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_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
get_option()
S
57 7 15
select_field_callback()
S
58 4 12
__construct()
S
51 3 24
sanitize_callback()
S
66 4 8
text_field_callback()
S
64 4 8
pro_field_callback()
S
60 3 13
post_select_field_callback()
S
60 3 11
make_implode_html_attributes()
S
63 3 10
color_field_callback()
S
66 3 7
is_show_pro()
S
77 3 3
is_reset_all()
S
77 3 3
get_options_tab_pro_attr()
S
72 3 4
get_field_description()
S
63 3 10
radio_field_callback()
S
59 2 12
add_menu()
S
62 2 11
show_pro_label_tag_content()
S
75 2 5
checkbox_field_callback()
S
67 2 6
show_pro_label_tag()
S
75 2 5
build_dependency()
S
67 2 7
admin_inline_js()
S
68 1 15
plugin_action_links()
S
65 2 8
get_options_tab_css_classes()
S
70 2 5
options_tabs()
S
66 2 9
get_default()
S
78 2 3
last_tab_input()
S
79 1 3
settings_url()
S
78 1 3
set_default()
S
77 1 3
reset_url()
S
77 1 3
get_defaults()
S
82 1 3
delete_settings()
S
75 1 4
get_options()
S
80 1 3
after_update()
S
82 1 3
update_option()
S
72 1 5
before_update()
S
75 1 4