Code Analysis: NinjaFirewall (WP Edition) 4.3.4

Function Rating Maintainability Complexity Lines of code
nf_sub_policies_save()
D
7
100 411
nfw_sys_events()
D
17
95 157
nf_sub_loginprot_save()
D
27
44 118
nfw_response_headers()
D
30 43 101
nfw_garbage_collector()
D
25
38 160
nf_sub_options_import()
D
29 34 111
nfw_admin_init()
D
29
33 117
nf_sub_options_save()
D
32 31 104
nf_sub_event_save()
C
31 28 126
nfw_uninstall()
C
33 29 93
nfw_matching()
C
34 29 84
nfw_check_security_updates()
C
35 29 78
nfw_upgrade_fullwaf()
C
24
16 241
nf_sub_monitoring_scan()
C
35 26 79
nfw_bfd()
C
34 25 82
nfwhook_user_meta()
C
33 25 81
nfw_check_request()
C
41 27 48
nf_wp_insert_post_empty_content()
C
33 24 90
nfw_remove_directives()
C
35 24 87
nfw_activate()
B
36 22 73
nfw_load_default_conf()
B
27
17 148
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_connect()
B
40 22 51
nfw_fullwafsetup()
B
37 20 76
nf_pre_delete_post()
B
37 18 66
nfw_log()
B
35 16 76
nf_monitor_options()
B
40 17 57
nfw_check_postpage()
B
46 18 35
nfw_get_data()
B
43 17 45
nfw_operator()
B
47 17 37
nfw_login_hook()
B
46 17 36
nfw_sanitise()
B
41 16 51
nfw_alert_security_updates()
B
38 15 66
nfw_read_bf_config()
B
43 16 50
nfw_normalize()
B
44 16 50
nf_check_dbdata()
A
37 14 67
nfw_admin_notice()
A
41 15 49
nfw_stats_widget()
A
33 11 102
nf_sub_liveloge_save()
A
45 14 41
nf_scan_email()
A
39 11 64
scd()
A
48 13 29
help_nfsubpolicies()
A
27
3 177
nf_sub_monitoring_create()
A
42 11 51
nf_not_allowed()
A
48 12 34
nfw_deactivate()
A
43 11 44
nfw_toggle_switch()
A
45 11 44
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
nf_sub_updates_download()
A
42 9 50
nfw_check_subrule()
A
47 10 35
nf_daily_report_log()
A
47 10 32
nfw_account_creation()
A
42 9 45
nfw_is_bot()
A
49 10 29
nfw_load_ext()
A
37 6 84
nfw_query()
A
51 10 24
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
nf_admin_bar_status()
A
48 8 35
fw_fileguard()
A
46 8 34
nf_sub_updates_save()
A
49 8 32
nfw_check_b64()
A
57 9 14
nf_sub_log_read_local()
A
49 8 29
nf_scheduled_scan()
A
50 8 28
nf_sub_fileguard_save()
A
50 8 28
nfw_fullwaf_ini()
A
45 7 42
is_nfw_enabled()
A
55 8 21
nfw_block()
A
46 7 35
nfw_check_temp_hash()
A
54 8 20
nf_sub_options_alert()
A
47 7 33
fw_livelog_show()
A
49 7 32
nfwhook_rest_request_before_callbacks()
A
55 8 17
nf_monitor_options_alert()
S
43 6 45
nfw_enable_wpwaf()
S
51 7 29
summary_stats_combo()
S
49 7 28
nfw_waf_sandbox()
S
45 6 42
nfw_check_session()
S
56 7 17
nfw_is_https()
S
63 8 10
nfw_is_https()
S
63 8 10
nfwhook_rest_authentication_errors()
S
57 7 15
nfw_create_log_dir()
S
44 4 53
nfw_fetch_uploads()
S
56 6 18
nf_daily_report()
S
55 6 18
nfw_validate_option()
S
65 7 8
nfw_the_author()
S
60 6 13
nf_sub_options_confbackup()
S
52 5 22
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_flatten()
S
60 5 14
nfw_get_captcha()
S
49 4 29
nfw_select_ip()
S
59 5 14
nfw_check_admin_request()
S
60 5 13
nfw_load_txtdomain()
S
60 5 13
nfw_authenticate()
S
59 5 13
nf_pre_http_request()
S
60 5 12
nfw_send_loginemail()
S
52 4 21
nf_sub_updates_notification()
S
53 4 20
nfw_check_dbhost()
S
56 4 19
help_nfsublog()
S
41 1 62
nfw_sanitize_extensions()
S
57 4 17
nfw_verbosity()
S
64 5 10
nfw_logout_hook()
S
63 4 12
nfw_recursive_upload()
S
61 4 12
nf_daily_report_email()
S
51 3 24
help_nfsublogin()
S
44 1 53
nfw_fetch_security_updates()
S
54 3 22
help_nfsubopt()
S
44 1 48
nfw_hide_admin_notices()
S
67 4 7
ninjafirewall_settings_link()
S
59 3 13
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_is_whitelisted()
S
73 3 5
nfw_get_blogtimezone()
S
65 3 10
nfw_dropins()
S
68 3 7
nfw_anonymize_ip()
S
67 3 7
nfw_sanitize_filename()
S
67 3 8
nf_sub_log_save_pubkey()
S
65 3 9
nfw_load_optmon()
S
72 3 5
nfw_delcomments1()
S
68 3 7
nfw_ini_set_cookie()
S
68 3 7
nfw_anonymize_ip2()
S
66 3 7
nf_sub_log_save_options()
S
66 3 8
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_welcomescreen()
S
63 2 10
nfw_delete_option()
S
72 2 6
nfw_log_error()
S
67 2 7
nfw_get_option()
S
70 2 7
nfw_quit()
S
68 2 8
nfw_delcomments2()
S
71 2 6
nf_sub_updates_clearlog()
S
73 2 5
nfw_no_application_passwords()
S
69 2 7
nfw_udecode()
S
69 2 6
nfw_implode()
S
70 2 7
nfw_login_form_hook()
S
69 2 6
nfw_disable_wpwaf()
S
74 2 5
nfw_update_option()
S
71 2 6
readonly()
S
75 2 5
help_nfsubnetwork()
S
62 1 12
nf_get_dbdata()
S
61 1 12
nfw_err_shake()
S
77 1 4
nf_sub_options()
S
80 1 3
nf_sub_policies()
S
80 1 3
nf_sub_event()
S
80 1 3
nfw_dashboard_widgets()
S
80 1 3
nf_sub_loginprot()
S
80 1 3
nfw_oct2ascii()
S
79 1 3
nfscando()
S
80 1 4
nfupdatesdo()
S
80 1 4
nf_sub_network()
S
80 1 3
nfw_remove_php_sessions_test()
S
76 1 4
nf_sub_wplus()
S
80 1 3
nfwhook_add_user_meta()
S
80 1 3
nf_sub_malwarescan()
S
80 1 3
nfw_sort_by_id()
S
80 1 3
nf_sub_log()
S
80 1 3
nf_sub_log_create()
S
80 1 3
nfwhook_update_user_meta()
S
80 1 3
nf_sub_updates()
S
80 1 3
nf_sub_monitoring()
S
80 1 3
nfw_log2()
S
80 1 3
nf_sub_main()
S
80 1 3
nfw_timezone_choice()
S
64 1 3
nfdailyreportdo()
S
80 1 4
fw_centlog_die()
S
75 1 5
nfw_hex2ascii()
S
79 1 3
help_nfsubevent()
S
68 1 7