RSFirewall_Core_Active_Scanner D

Total Complexity 239
Dependencies 8
Dependents 0
Total lines 1,148
Lines of code 756
Logical lines of code 416
Comment lines 204
Methods 39
Properties 2

Methods 39

Method Rating Maintainability Complexity Lines of code
init()
C
36 30 65
handle_uploads()
C
35 23 82
is_exception()
B
40 19 59
php_enable_protections_for()
A
45 15 41
disable_rest_api()
A
45 12 41
js_enable_protections_for()
A
52 10 23
disable_wp_installer()
A
57 9 14
unset_if_admin()
A
51 8 25
disable_admin_creation()
A
53 8 20
prevent_author_scan_enumeration_filter()
A
55 8 18
check_core_wp_integrity()
S
51 7 26
monitor_files()
S
52 7 25
show_404_page()
S
49 6 33
sql_enable_protections_for()
S
57 7 15
is_session_injection()
S
56 6 16
json_api_author_filter()
S
49 5 29
is_RFI()
S
50 4 29
is_rest_api_request()
S
60 5 13
show_forbidden_message()
S
62 5 11
block_xmlrpc()
S
54 4 19
is_SQLi()
S
58 4 16
get_extension()
S
57 4 16
update_locked_users()
S
63 5 10
remove_capabilities()
S
67 4 7
get_callbacks()
S
56 1 21
get_instance()
S
70 2 7
display_notice()
S
74 2 5
clean_url_path()
S
66 2 8
remove_pingback_url()
S
71 2 6
xmlrpc_die_filter()
S
72 2 6
verify_generator()
S
71 2 6
is_LFI()
S
66 2 9
is_XSS()
S
66 2 9
is_malware_upload()
S
68 2 7
prevent_author_scan()
S
71 1 5
oembed_author_filter()
S
73 1 5
remove_installer_pages()
S
80 1 3
find_null_code()
S
78 1 3
filter_XSS()
S
81 1 3