Code Analysis: NutsForPress Maintenance Mode 1.7

Function Rating Maintainability Complexity Lines of code
nfproot_settings_structure()
D
29 36 148
nfpmnm_hide()
C
30 19 167
nfproot_save_settings()
B
35 20 99
nfpmnm_settings_content()
B
23
7 265
nfpmnm_check_after_login()
A
41 12 55
nfpmnm_add_notice()
A
39 10 82
nfpmnm_redirect_sitemap()
A
47 13 37
nfpmnm_restrict_rest()
A
48 13 35
nfpmnm_force_logout()
A
45 11 44
nfpmnm_redirect()
A
48 11 31
nfpmnm_plugin_uninstall()
A
45 7 44
nfpmnm_add_user_fields()
A
47 7 43
nfproot_settings_dropdown()
A
48 7 39
nfproot_settings_radio()
A
49 7 33
nfproot_settings_to_save()
S
50 7 30
nfpmnm_save_user_fields()
S
54 7 24
nfproot_settings_after_input()
S
51 6 31
nfproot_settings_switch()
S
52 6 27
nfproot_settings_callback()
S
51 3 40
nfproot_settings_checkbox()
S
55 4 22
nfpmnm_settings()
S
56 4 19
nfproot_add_to_settings()
S
60 4 15
nfproot_saved_settings()
S
54 3 23
nfproot_settings_text_email_password()
S
55 3 21
nfproot_settings_textarea()
S
56 3 19
nfpmnm_plugin_deactivate()
S
60 3 14
nfproot_settings_arrow_before()
S
65 3 12
nfpmnm_post_type_to_include()
S
60 2 14
nfpmnm_settings_callback()
S
61 1 19
nfpmnm_plugin_activate()
S
59 1 15
nfproot_settings_button()
S
63 1 13
nfproot_add_to_settings_local()
S
100 1 8
nfpmnm_register_public_script()
S
79 1 3
nfproot_settings_description()
S
71 1 8
nfproot_styles_and_scripts()
S
63 1 9
nfproot_settings()
S
67 1 10
nfproot_settings_textonly()
S
80 1 3