MainWP_Child_Wordfence D

Total Complexity 611
Dependencies 29
Dependents 4
Total lines 3,832
Lines of code 2,534
Logical lines of code 1,346
Comment lines 939
Methods 87
Properties 7

Methods 87

Method Rating Maintainability Complexity Lines of code
get_diagnostics()
D
0
135 707
action()
D
16
74 225
save_settings_new()
D
17
68 229
save_cache_config()
D
31 34 102
bulk_operation()
C
33 23 91
import_settings()
B
40 16 53
save_options()
B
41 16 52
get_section_settings()
B
28
8 169
get_waf_data()
A
42 13 48
do_reports_log()
A
43 13 45
restore_file()
A
44 12 42
ticker()
A
45 10 37
remove_cache_exclusion()
A
47 10 32
add_cache_exclusion()
A
49 10 31
get_cache_stats()
A
45 8 43
save_cache_options()
S
54 7 19
load_static_panel()
S
56 7 17
__construct()
S
58 7 14
init_cron()
S
60 7 12
export_settings()
S
51 6 25
delete_file()
S
50 5 28
update_all_issues()
S
58 5 14
check_falcon_htaccess()
S
52 4 25
downgrade_license()
S
54 4 21
load_issues()
S
54 4 20
download_htaccess()
S
55 4 18
check_htaccess()
S
58 4 15
update_issue_status()
S
57 4 15
ajax_load_issues_callback()
S
54 3 20
clear_page_cache()
S
54 3 20
save_country_blocking()
S
56 3 16
save_debugging_config()
S
64 4 9
update_issues_status()
S
62 4 10
get_log()
S
58 3 15
wordfence_init()
S
61 3 12
unblock_ip()
S
67 3 7
start_scan()
S
68 3 7
all_plugins()
S
65 3 9
wfc_cron_scan()
S
71 3 6
save_waf_config()
S
67 3 7
load_waf_data()
S
60 2 13
load_cache_exclusions()
S
63 2 11
reverse_lookup()
S
63 2 11
instance()
S
71 2 6
get_settings()
S
64 2 10
delete_issues()
S
68 2 6
get_substr()
S
67 2 7
deactivation()
S
71 2 6
kill_scan()
S
61 1 12
count_attacks_blocked()
S
61 1 12
disable_directory_listing()
S
76 1 4
update_log()
S
80 1 3
recent_traffic()
S
80 1 3
bulk_ajax_operation()
S
80 1 3
get_lastscan()
S
69 1 6
request_scan()
S
80 1 3
set_showhide()
S
70 1 6
kill_ajax_scan()
S
80 1 3
ajax_block_ip_callback()
S
80 1 3
remove_menu()
S
81 1 3
do_site_stats()
S
80 1 3
admin_init()
S
79 1 3
update_waf_rules()
S
63 1 10
update_waf_rules_new()
S
69 1 6
whois()
S
80 1 3
ajax_delete_blocks_callback()
S
76 1 4
ajax_make_permanent_blocks_callback()
S
76 1 4
load_block_ranges()
S
76 1 4
mis_configured_how_get_ips_choice()
S
76 1 4
delete_admin_user()
S
76 1 4
revoke_admin_user()
S
76 1 4
clear_all_blocked()
S
76 1 4
permanently_block_all_ips()
S
76 1 4
unlock_out_ip()
S
76 1 4
unblock_range()
S
76 1 4
block_ip_ua_range()
S
76 1 4
hide_file_htaccess()
S
76 1 4
delete_database_option()
S
76 1 4
whitelist_bulk_delete()
S
76 1 4
whitelist_bulk_enable()
S
76 1 4
whitelist_bulk_disable()
S
76 1 4
update_config()
S
76 1 4
whitelist_waf_param_key()
S
76 1 4
load_live_traffic()
S
66 1 8
ajax_get_blocks_callback()
S
76 1 4
ajax_create_block_callback()
S
80 1 3
fix_fpd()
S
76 1 4