Code Analysis: NinjaFirewall (WP Edition) 4.7.3

Function Rating Maintainability Complexity Lines of code
nf_sub_policies_save()
D
4
111 443
nfw_sys_events()
D
16
95 166
nf_sub_loginprot_save()
D
27
44 121
nfw_response_headers()
D
29
44 112
nfw_garbage_collector()
D
25
36 160
nfw_admin_init()
D
28
33 120
nfw_matching()
D
33 33 93
nfw_upgrade_fullwaf()
C
23
17 266
nf_sub_options_import()
C
32 28 94
nf_sub_event_save()
C
32 26 119
nfw_check_security_updates()
C
36 28 74
nf_sub_monitoring_scan()
C
35 26 79
nfw_connect()
C
36 26 71
nfw_bfd()
C
34 25 82
nfw_uninstall()
C
35 25 81
nfw_check_request()
C
41 27 48
nfw_remove_directives()
C
35 24 87
nf_wp_insert_post_empty_content()
C
35 23 78
nfwhook_user_meta()
B
36 22 70
nf_sub_do_updates()
B
36 21 78
nfw_check_upload()
B
38 22 62
nfw_check_auth()
B
38 21 64
nfw_fullwafsetup()
B
37 20 77
fw_livelog_record()
B
39 21 54
nfw_create_scheduled_tasks()
B
43 19 48
nfw_load_default_conf()
B
29
13 136
nf_monitor_options()
B
40 17 57
nfw_operator()
B
47 18 38
nfw_normalize()
B
43 17 53
nfw_log()
B
35 15 79
nfw_get_data()
B
43 17 45
nfw_sanitise()
B
41 16 51
nfw_read_bf_config()
B
43 16 50
nf_check_dbdata()
A
37 14 71
nf_sub_options_save()
A
41 15 55
NinjaFirewall_mail::send()
A
38 14 66
nfw_admin_notice()
A
41 15 49
nfw_login_hook()
A
46 16 34
nfw_verify_scheduled_tasks()
A
43 15 48
nf_pre_delete_post()
A
42 15 47
nfw_verify_secupdates()
A
44 15 43
nfw_sodium_decrypt()
A
38 13 66
nfw_activate()
A
43 14 45
nf_sub_liveloge_save()
A
45 14 43
nfw_alert_security_updates()
A
43 13 48
help_nfsubpolicies()
A
27
3 179
scd()
A
48 13 29
nf_not_allowed()
A
46 12 40
nf_sub_monitoring_create()
A
42 11 51
nfwhook_rest_authentication_errors()
A
48 12 31
nfw_toggle_switch()
A
45 11 44
NinjaFirewall_session::start()
A
45 11 42
nfw_session_debug()
A
47 11 36
nfw_fullwaf_htaccess()
A
44 10 44
nfw_disabled_scan()
A
59 12 12
ninjafirewall_admin_menu()
A
40 9 53
nfw_deactivate()
A
45 10 37
nf_sub_updates_download()
A
42 9 50
nfw_check_subrule()
A
47 10 35
nfw_load_ext()
A
36 6 90
nfw_query()
A
52 10 23
nf_scan_email()
A
42 8 49
nf_sub_policies_default()
A
37 6 79
nf_daily_report_log()
A
47 9 33
nfw_is_bot()
A
49 9 29
nfw_check_ip()
A
51 9 27
nf_sub_updates_getversion()
A
43 7 52
nfw_block()
A
43 7 51
nf_admin_bar_status()
A
48 8 35
nfw_check_b64()
A
57 9 14
nf_sub_log_read_local()
A
49 8 29
nf_sub_fileguard_save()
A
50 8 28
nfw_fullwaf_ini()
A
45 7 42
fw_centlog()
A
50 8 26
nfw_display_directories()
A
50 8 26
nfw_is_inireadable()
A
46 7 37
is_nfw_enabled()
A
55 8 21
nfw_waf_sandbox()
A
43 6 50
nfw_check_temp_hash()
A
54 8 20
fw_livelog_show()
A
49 7 32
nfwhook_rest_request_before_callbacks()
A
55 8 17
nfw_enable_wpwaf()
A
50 7 32
fw_fileguard()
S
48 7 29
summary_stats_combo()
S
49 7 28
nfw_save_waf_exclusionlist()
S
52 7 24
nfw_is_https()
S
63 8 10
nfw_is_https()
S
63 8 10
nfw_configure_fullwaf()
S
44 4 58
nf_sub_updates_save()
S
52 6 26
nfw_account_creation()
S
50 6 26
nfw_create_loader()
S
48 5 38
nf_daily_report()
S
54 6 21
nfw_fetch_uploads()
S
56 6 18
nfw_select_ip()
S
57 6 17
nfw_transform_string()
S
48 5 32
NinjaFirewall_helpers::nfw_glob()
S
57 6 16
nfw_validate_option()
S
65 7 8
nfw_delete_user()
S
49 5 29
NinjaFirewall_session::is_ssl()
S
60 6 14
nfw_the_author()
S
60 6 13
nfw_create_log_dir()
S
47 4 42
nfw_stats_widget()
S
42 3 56
NinjaFirewall_session::close()
S
54 5 24
nfw_fullwafconfig()
S
55 5 19
nfw_authenticate()
S
55 5 19
nfw_get_constants()
S
52 4 32
nfw_flatten()
S
58 5 16
nf_sub_log_find_local()
S
59 5 15
nfw_delete_scheduled_tasks()
S
62 5 14
nfw_get_captcha()
S
49 4 29
nfw_check_admin_request()
S
60 5 13
nfw_load_txtdomain()
S
59 5 13
nf_pre_http_request()
S
60 5 12
nf_sub_options_confbackup()
S
50 4 26
nf_sub_options_alert()
S
54 4 20
NinjaFirewall_mail::PHPsend()
S
47 3 34
nfw_check_dbhost()
S
56 4 19
help_nfsublog()
S
41 1 62
nfw_sanitize_extensions()
S
57 4 17
NinjaFirewall_mail::initialize()
S
57 4 17
nf_fc_metrics()
S
59 4 15
nf_scheduled_scan()
S
58 4 15
nfw_fc_metrics()
S
59 4 15
nfw_verbosity()
S
64 5 10
NinjaFirewall_helpers::nfw_glob_recursive()
S
58 4 15
NinjaFirewall_session::destroy()
S
60 4 13
nfw_recursive_upload()
S
61 4 12
nf_sub_log_save_options()
S
62 4 11
nfw_fetch_security_updates()
S
53 3 24
help_nfsublogin()
S
44 1 53
help_nfsubopt()
S
44 1 48
nfw_hide_admin_notices()
S
67 4 7
nfw_sodium_nonce()
S
59 3 15
ninjafirewall_settings_link()
S
59 3 13
nfw_compress_string()
S
61 3 12
nfw_rate_notice()
S
62 3 11
nf_sub_updates_log()
S
61 3 11
nfw_show_errorlog()
S
57 2 20
help_nfsubfileguard()
S
49 1 34
nfw_wp_i18n_definitions()
S
49 1 31
nfw_is_whitelisted()
S
73 3 5
nf_sub_log_save_pubkey()
S
65 3 9
nfw_load_optmon()
S
72 3 5
nfw_check_sodium()
S
65 3 9
nfw_delcomments1()
S
68 3 7
nfw_sodium_encrypt()
S
57 2 15
nfw_anonymize_ip2()
S
65 3 8
nfw_anonymize_ip()
S
65 3 8
nfw_custom_headers()
S
66 3 8
nfw_sanitize_filename()
S
67 3 8
nfw_dropins()
S
68 3 7
NinjaFirewall_session::start()
S
70 3 6
nf_monitor_options_alert()
S
58 2 14
nfw_debug_backtrace()
S
59 2 13
nf_daily_report_email()
S
59 2 13
nf_sub_updates_notification()
S
62 2 11
help_nfsubupdates()
S
53 1 25
help_nfsubmain()
S
55 1 21
nfw_html_decode()
S
51 1 20
nfw_removal_confimation()
S
56 1 19
nfw_no_application_passwords()
S
69 2 7
NinjaFirewall_session::write()
S
72 2 5
NinjaFirewall_session::read()
S
70 2 6
nfw_delcomments2()
S
71 2 6
nfw_udecode()
S
69 2 6
nfw_log_error()
S
67 2 7
nfw_quit()
S
68 2 8
nfw_get_option()
S
70 2 7
nfw_update_option()
S
71 2 6
NinjaFirewall_session::delete()
S
69 2 7
nfw_send_loginemail()
S
62 2 10
wp_readonly()
S
75 2 5
nfw_delete_option()
S
72 2 6
nfw_welcomescreen()
S
63 2 10
nfw_aria_label()
S
69 2 7
NinjaFirewall_session::read()
S
71 2 6
nfw_implode()
S
70 2 7
NinjaFirewall_session::delete()
S
69 2 7
NinjaFirewall_session::write()
S
72 2 5
nf_sub_updates_clearlog()
S
73 2 5
nfw_login_form_hook()
S
67 2 8
nfw_init_emailremoval()
S
71 2 6
nfw_disable_wpwaf()
S
73 2 5
nf_get_dbdata()
S
61 1 12
help_nfsubnetwork()
S
62 1 12
nf_sub_network()
S
80 1 3
nfwhook_add_user_meta()
S
80 1 3
help_nfsubevent()
S
68 1 7
nfw_dashboard_widgets()
S
80 1 3
nf_sub_log()
S
80 1 3
nfw_oct2ascii()
S
79 1 3
nfdailyreportdo()
S
80 1 4
nfw_err_shake()
S
77 1 4
fw_centlog_die()
S
75 1 5
nf_sub_options()
S
80 1 3
nf_sub_loginprot()
S
80 1 3
nfw_in_plugin_update_message()
S
67 1 8
nf_sub_main()
S
80 1 3
nfscando()
S
80 1 4
nf_sub_log_create()
S
80 1 3
NinjaFirewall_session::name()
S
80 1 3
nf_sub_monitoring()
S
80 1 3
nfw_timezone_choice()
S
64 1 3
nfupdatesdo()
S
80 1 4
nfw_sort_by_id()
S
80 1 3
nf_sub_malwarescan()
S
80 1 3
nfw_hex2ascii()
S
79 1 3
nfw_log2()
S
80 1 3
nf_sub_policies()
S
80 1 3
NinjaFirewall_session::name()
S
80 1 3
NinjaFirewall_session::close()
S
80 1 3
nf_sub_wplus()
S
80 1 3
nfw_logout_hook()
S
72 1 6
nf_sub_event()
S
80 1 3
nfwhook_update_user_meta()
S
80 1 3
nfw_removal_error()
S
70 1 7
nf_sub_updates()
S
80 1 3