IDOCS_Admin_Settings B

Total Complexity 96
Dependencies 1
Dependents 3
Total lines 1,144
Lines of code 689
Logical lines of code 208
Comment lines 269
Methods 25
Properties 1

Methods 25

Method Rating Maintainability Complexity Lines of code
validate_options_before_saving()
D
32 34 106
enqueue_scripts()
A
36 10 110
get_settings_tabs()
A
33 1 136
enqueue_styles()
A
48 7 39
check_all_wp_roles()
S
56 5 17
callback_fill_form_field_flag()
S
55 4 19
enqueue_editor_assets()
S
50 3 33
callback_fill_form_field_url()
S
59 4 14
callback_fill_form_field_email()
S
59 4 14
callback_fill_form_field_text()
S
59 4 14
callback_fill_form_field_number()
S
59 4 14
get_selection_options()
S
43 1 53
validate_checkbox()
S
66 3 8
get_capabilities()
S
54 1 24
register_setting_fields_general()
S
58 1 18
register_setting_sections()
S
64 1 14
custom_block_category()
S
65 1 11
register_myplugin_blocks()
S
80 1 3
register_general_settings()
S
64 1 10
register_setting_fields()
S
78 1 4
register_setting_fields_urls()
S
65 1 10
display_rewrite_rules()
S
80 1 3
display_plugin_admin_notices()
S
68 1 8
remove_next_link()
S
75 1 4
__construct()
S
81 1 3