Code Analysis: NutsForPress Restricted Contents 1.4

Function Rating Maintainability Complexity Lines of code
nfproot_settings_structure()
D
29 36 148
nfprct_check_involved_post()
D
30 32 120
nfprct_settings_content()
C
24
16 218
nfprct_save_content_metabox()
B
37 22 79
nfproot_save_settings()
B
35 20 99
nfprct_check_restriction()
B
36 18 84
nfprct_save_media_checkbox()
B
40 16 66
nfprct_add_content_metabox_content()
A
40 11 71
nfprct_add_lock_to_post_title()
A
49 8 31
nfproot_settings_dropdown()
A
48 7 39
nfprct_plugin_uninstall()
A
48 7 35
nfproot_settings_radio()
A
49 7 33
nfprct_add_media_checkbox()
A
43 6 47
nfproot_settings_to_save()
S
50 7 30
nfproot_settings_after_input()
S
51 6 31
nfproot_settings_switch()
S
52 6 27
nfprct_filter_rewrite_rules()
S
57 6 18
nfproot_settings_callback()
S
51 3 40
nfprct_restricted_list()
S
47 3 40
nfproot_settings_checkbox()
S
55 4 22
nfprct_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
nfprct_post_type_to_include()
S
57 3 18
nfprct_plugin_activate()
S
50 2 32
nfprct_plugin_deactivate()
S
59 3 15
nfproot_settings_arrow_before()
S
65 3 12
nfprct_add_mod_rewrite_rule()
S
56 2 21
nfprct_settings_callback()
S
61 1 19
nfproot_settings_button()
S
63 1 13
nfproot_styles_and_scripts()
S
63 1 9
nfprct_add_content_metabox()
S
66 1 10
nfproot_settings()
S
67 1 10
nfproot_settings_description()
S
71 1 8
nfproot_add_to_settings_local()
S
100 1 8
nfproot_settings_textonly()
S
80 1 3