Code Analysis: NinjaFirewall (WP Edition) 4.4.3

Function Rating Maintainability Complexity Lines of code
nf_sub_policies_save()
D
7
100 411
nfw_sys_events()
D
17
93 152
nf_sub_loginprot_save()
D
27
44 118
nfw_response_headers()
D
30 43 101
nfw_garbage_collector()
D
26
35 147
nfw_admin_init()
D
28
34 121
nfw_matching()
D
33 33 92
nf_sub_options_import()
C
32 28 94
nfw_check_security_updates()
C
35 29 78
nf_sub_event_save()
C
32 26 119
nfw_upgrade_fullwaf()
C
23
16 261
nfw_uninstall()
C
35 26 84
nf_sub_monitoring_scan()
C
35 26 79
nfw_connect()
C
36 26 71
nfw_bfd()
C
34 25 82
nfw_check_request()
C
41 27 48
nf_wp_insert_post_empty_content()
C
33 24 88
nfw_remove_directives()
C
35 24 87
nfwhook_user_meta()
B
34 23 75
nfw_check_auth()
B
38 22 65
nf_sub_do_updates()
B
36 21 78
nfw_check_upload()
B
38 22 62
fw_livelog_record()
B
38 22 58
nfw_fullwafsetup()
B
37 20 77
nfw_create_scheduled_tasks()
B
43 19 49
nfw_load_default_conf()
B
29 13 133
nfw_log()
B
35 16 76
nf_sub_options_save()
B
40 17 60
nf_monitor_options()
B
40 17 57
nfw_normalize()
B
43 17 53
nfw_get_data()
B
43 17 45
nf_pre_delete_post()
B
38 16 60
nfw_operator()
B
47 17 37
nfw_login_hook()
B
46 17 36
nfw_sanitise()
B
41 16 51
nfw_read_bf_config()
B
43 16 50
nfw_admin_notice()
A
41 15 49
nfw_verify_scheduled_tasks()
A
43 15 49
nfw_verify_secupdates()
A
44 15 43
nfw_sodium_decrypt()
A
38 13 67
nfw_alert_security_updates()
A
40 13 61
nf_sub_liveloge_save()
A
45 14 41
nf_check_dbdata()
A
39 12 62
scd()
A
48 13 29
nfw_activate()
A
44 12 43
help_nfsubpolicies()
A
27
3 177
nfw_stats_widget()
A
35 9 87
nf_sub_monitoring_create()
A
42 11 51
nf_not_allowed()
A
48 12 34
nfw_toggle_switch()
A
45 11 44
nfw_session_debug()
A
47 11 36
nfw_fullwaf_htaccess()
A
44 10 44
nf_scan_email()
A
40 9 59
nfw_disabled_scan()
A
59 12 12
ninjafirewall_admin_menu()
A
40 9 53
nfw_check_subrule()
A
47 10 35
nf_sub_updates_download()
A
42 9 50
nf_daily_report_log()
A
47 10 32
nfw_load_ext()
A
36 6 89
nfw_is_bot()
A
49 10 29
nfw_query()
A
52 10 23
nfwhook_rest_authentication_errors()
A
52 10 22
nf_sub_policies_default()
A
37 6 76
fw_centlog()
A
48 9 30
nfw_check_ip()
A
51 9 27
nf_sub_updates_getversion()
A
43 7 52
nfw_mail()
A
46 8 35
nf_admin_bar_status()
A
48 8 35
fw_fileguard()
A
46 8 34
nf_sub_log_read_local()
A
49 8 29
nfw_check_b64()
A
57 9 14
nf_sub_fileguard_save()
A
50 8 28
nfw_fullwaf_ini()
A
45 7 42
nfw_display_directories()
A
50 8 26
nfw_account_creation()
A
44 7 39
nfw_is_inireadable()
A
46 7 37
is_nfw_enabled()
A
55 8 21
nfw_waf_sandbox()
A
43 6 50
nfw_block()
A
46 7 35
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
summary_stats_combo()
S
49 7 28
nfw_save_waf_exclusionlist()
S
52 7 24
nfw_check_session()
S
56 7 17
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_create_loader()
S
48 5 38
nfw_fetch_uploads()
S
56 6 18
nfw_validate_option()
S
65 7 8
nfw_the_author()
S
60 6 13
nfw_deactivate()
S
49 5 28
nf_sub_options_alert()
S
49 5 28
nfw_create_log_dir()
S
47 4 42
nfw_fetch_secnews()
S
52 5 25
nf_monitor_options_alert()
S
45 4 40
nf_sub_options_confbackup()
S
52 5 22
nfw_fullwafconfig()
S
55 5 19
nfw_get_constants()
S
52 4 32
nfw_transform_string()
S
49 4 31
nf_sub_log_find_local()
S
59 5 15
nfw_session_start()
S
60 5 15
nfw_select_ip()
S
59 5 14
nfw_flatten()
S
60 5 14
nfw_delete_scheduled_tasks()
S
62 5 14
nfw_get_captcha()
S
49 4 29
nfw_authenticate()
S
59 5 13
nfw_load_txtdomain()
S
60 5 13
nfw_check_admin_request()
S
60 5 13
nf_pre_http_request()
S
60 5 12
nfw_check_dbhost()
S
56 4 19
help_nfsublog()
S
41 1 62
nfw_sanitize_extensions()
S
57 4 17
nf_scheduled_scan()
S
58 4 15
nfw_verbosity()
S
64 5 10
nf_daily_report()
S
60 4 13
nfw_logout_hook()
S
63 4 12
nfw_recursive_upload()
S
61 4 12
nf_daily_report_email()
S
51 3 24
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
nf_sub_updates_log()
S
61 3 11
nfw_rate_notice()
S
62 3 11
nfw_show_errorlog()
S
57 2 20
help_nfsubfileguard()
S
49 1 34
nfw_send_loginemail()
S
56 2 16
nf_sub_log_save_pubkey()
S
65 3 9
nfw_delcomments1()
S
68 3 7
nfw_dropins()
S
68 3 7
nfw_anonymize_ip()
S
67 3 7
nfw_anonymize_ip2()
S
66 3 7
nfw_load_optmon()
S
72 3 5
nfw_sanitize_filename()
S
67 3 8
nfw_check_sodium()
S
65 3 9
nfw_ini_set_cookie()
S
68 3 7
nf_sub_log_save_options()
S
66 3 8
nfw_is_whitelisted()
S
73 3 5
nfw_sodium_encrypt()
S
57 2 15
nfw_get_blogtimezone()
S
65 3 10
nf_sub_updates_notification()
S
57 2 15
nfw_compress_string()
S
62 2 11
help_nfsubupdates()
S
53 1 25
help_nfsubmain()
S
55 1 21
nfw_html_decode()
S
51 1 20
nfw_init_emailremoval()
S
71 2 6
nfw_get_option()
S
70 2 7
nfw_no_application_passwords()
S
69 2 7
nfw_udecode()
S
69 2 6
nfw_update_option()
S
71 2 6
nf_sub_updates_clearlog()
S
73 2 5
nfw_welcomescreen()
S
63 2 10
nfw_delcomments2()
S
71 2 6
nfw_login_form_hook()
S
69 2 6
nfw_implode()
S
70 2 7
readonly()
S
75 2 5
nfw_delete_option()
S
72 2 6
nfw_disable_wpwaf()
S
74 2 5
nfw_quit()
S
68 2 8
nfw_log_error()
S
67 2 7
nfw_removal_confimation()
S
59 1 14
nf_get_dbdata()
S
61 1 12
help_nfsubnetwork()
S
62 1 12
nf_sub_options()
S
80 1 3
nf_sub_event()
S
80 1 3
nfw_remove_php_sessions_test()
S
76 1 4
nfw_removal_error()
S
70 1 7
nfwhook_add_user_meta()
S
80 1 3
nf_sub_policies()
S
80 1 3
nfw_log2()
S
80 1 3
fw_centlog_die()
S
75 1 5
nfw_sort_by_id()
S
80 1 3
nf_sub_main()
S
80 1 3
nfupdatesdo()
S
80 1 4
nfscando()
S
80 1 4
nf_sub_network()
S
80 1 3
nf_sub_wplus()
S
80 1 3
nfw_dashboard_widgets()
S
80 1 3
help_nfsubevent()
S
68 1 7
nfw_oct2ascii()
S
79 1 3
nf_sub_loginprot()
S
80 1 3
nfdailyreportdo()
S
80 1 4
nf_sub_malwarescan()
S
80 1 3
nf_sub_log_create()
S
80 1 3
nfwhook_update_user_meta()
S
80 1 3
nf_sub_log()
S
80 1 3
nfw_in_plugin_update_message()
S
67 1 8
nfw_hex2ascii()
S
79 1 3
nf_sub_updates()
S
80 1 3
nfw_timezone_choice()
S
64 1 3
nfw_err_shake()
S
77 1 4
nf_sub_monitoring()
S
80 1 3