rsssl_firewall_manager D

Total Complexity 135
Dependencies 1
Dependents 1
Total lines 844
Lines of code 505
Logical lines of code 287
Comment lines 256
Methods 36
Properties 4

Methods 36

Method Rating Maintainability Complexity Lines of code
include_prepend_file_in_user_ini()
A
45 13 40
include_prepend_file_in_wp_config()
A
49 11 28
get_htaccess_rules()
A
43 8 53
__construct()
A
52 9 22
include_prepend_file_in_htaccess()
A
48 8 33
put_contents()
S
58 8 15
install()
S
54 7 24
wpconfig_path()
S
55 7 19
remove_prepend_file_in_wp_config()
S
57 5 17
update_wp_config_rule()
S
57 4 17
init_file_system()
S
60 4 13
get_home_path()
S
64 4 9
is_settings_page()
S
65 4 9
remove_prepend_file_in_htaccess()
S
59 3 14
remove_auto_prepend_file_in_user_ini()
S
61 3 13
uninstall()
S
64 3 12
add_htaccess_rules_before_wp_rocket()
S
62 3 12
notices()
S
47 1 40
update_firewall()
S
54 2 22
delete_file()
S
68 3 8
get_user_ini_path()
S
69 2 7
has_user_ini_file()
S
69 2 7
get_wp_config_rule()
S
63 2 10
uses_htaccess_conf()
S
66 2 8
firewall_active_error()
S
71 2 6
htaccess_path()
S
67 2 8
get_headers_nonce()
S
70 2 6
get_contents()
S
71 2 6
has_rules()
S
70 2 6
firewall_write_error()
S
80 1 3
wp_config_contains_latest()
S
81 1 3
file_exists()
S
80 1 3
remove_advanced_headers()
S
82 1 3
is_writable()
S
80 1 3
uses_htaccess()
S
80 1 3
sanitize_path()
S
78 1 3