Code Analysis: Proactive Security Suite 1.5.9.8

Function Rating Maintainability Complexity Lines of code
pssx_render_settings_tab()
D
13
48 429
pssx_delete_ips_cloudflare()
D
24
25 213
pssx_create_cf_waf_rule()
C
29 28 123
pssx_add_ips_to_cloudflare()
C
25
23 188
pssx_render_admin_page()
C
32 26 108
pssx_render_ips_tab()
C
28
22 163
pssx_add_ip_cloudflare()
B
30 19 126
pssx_verify_cf_waf_rule()
B
36 20 79
pssx_sync_ips_cloudflare()
B
34 20 78
pssx_fetch_and_store_blocked_ips()
A
40 6 67
pssx_blocked_ips_inline_style()
A
48 8 35
pssx_handle_delete_captured_traffic_action()
S
53 6 21
pssx_delete_ips()
S
49 5 30
pssx_enqueue_scripts()
S
47 3 44
pssx_get_all_ids_ips()
S
52 4 25
pssx_display_admin_notices()
S
60 3 14
pssx_run_process_manually()
S
61 3 13
pssx_clear_data()
S
61 3 13
pssx_fs()
S
52 2 25
pssx_admin_inline_styles()
S
57 2 21
pssx_admin_styles()
S
58 2 19
pssx_check_custom_tables()
S
51 1 34
pssx_schedule_cron_job()
S
66 3 8
pssx_render_traffic_insights_tab()
S
66 2 9
pssx_maybe_update_plugin()
S
69 2 7
pssx_custom_cron_schedules()
S
59 1 15
pssx_update_cloudflare_response()
S
60 1 15
pssx_notify_cf_error()
S
66 2 8
pssx_update_cron_schedule()
S
68 2 7
pssx_add_settings_link()
S
71 1 5
pssx_init_plugin()
S
74 1 5
pssx_deactivate_plugin()
S
82 1 3
pssx_add_admin_notice()
S
67 1 8
pssx_menu()
S
68 1 9
pssx_activate_plugin()
S
74 1 5