rsssl_firewall_manager C

Total Complexity 124
Dependencies 1
Dependents 1
Total lines 794
Lines of code 470
Logical lines of code 261
Comment lines 251
Methods 37
Properties 3

Methods 37

Method Rating Maintainability Complexity Lines of code
include_prepend_file_in_user_ini()
A
47 11 37
include_prepend_file_in_wp_config()
A
49 11 28
__construct()
A
52 9 22
include_prepend_file_in_htaccess()
A
49 7 31
put_contents()
S
58 8 15
install()
S
54 7 22
get_htaccess_rules()
S
47 4 43
remove_prepend_file_in_wpconfig()
S
57 5 17
update_wp_config_rule()
S
57 4 17
init_file_system()
S
60 4 13
wpconfig_path()
S
61 4 12
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
uninstall()
S
64 3 12
notices()
S
47 1 40
delete_file()
S
68 3 8
update_firewall()
S
59 2 14
htaccess_path()
S
67 2 8
uses_htaccess_conf()
S
66 2 8
get_user_ini_path()
S
69 2 7
get_contents()
S
71 2 6
get_headers_nonce()
S
70 2 6
has_user_ini_file()
S
69 2 7
firewall_active_error()
S
71 2 6
add_htaccess_rules_before_wp_rocket()
S
65 2 9
get_wp_config_rule()
S
63 2 10
remove_advanced_headers()
S
82 1 3
uses_htaccess()
S
80 1 3
file_exists()
S
80 1 3
wp_config_contains_latest()
S
81 1 3
sanitize_path()
S
78 1 3
firewall_write_error()
S
80 1 3
has_rules()
S
74 1 4
is_writable()
S
80 1 3
remove_prepend_file_in_wp_config()
S
91 1 2