rsssl_firewall_manager D

Total Complexity 136
Dependencies 1
Dependents 1
Total lines 867
Lines of code 510
Logical lines of code 291
Comment lines 273
Methods 37
Properties 4

Methods 37

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
put_contents()
S
58 8 15
install()
S
54 7 24
wpconfig_path()
S
55 7 19
include_prepend_file_in_htaccess()
S
53 5 22
remove_prepend_file_in_wp_config()
S
57 5 17
update_wp_config_rule()
S
57 4 17
preserve_wp_rules()
S
58 4 16
init_file_system()
S
60 4 13
is_settings_page()
S
65 4 9
get_home_path()
S
64 4 9
remove_prepend_file_in_htaccess()
S
59 3 14
remove_auto_prepend_file_in_user_ini()
S
61 3 13
add_htaccess_rules_before_wp_rocket()
S
62 3 12
uninstall()
S
64 3 12
notices()
S
47 1 40
update_firewall()
S
54 2 22
delete_file()
S
68 3 8
uses_htaccess_conf()
S
66 2 8
get_contents()
S
71 2 6
get_headers_nonce()
S
70 2 6
has_rules()
S
70 2 6
get_user_ini_path()
S
69 2 7
firewall_active_error()
S
71 2 6
htaccess_path()
S
67 2 8
get_wp_config_rule()
S
63 2 10
has_user_ini_file()
S
69 2 7
wp_config_contains_latest()
S
81 1 3
remove_advanced_headers()
S
82 1 3
file_exists()
S
80 1 3
is_writable()
S
80 1 3
sanitize_path()
S
78 1 3
firewall_write_error()
S
80 1 3
uses_htaccess()
S
80 1 3