rsssl_firewall_manager D

Total Complexity 150
Dependencies 3
Dependents 1
Total lines 990
Lines of code 558
Logical lines of code 317
Comment lines 269
Methods 40
Properties 7

Methods 40

Method Rating Maintainability Complexity Lines of code
include_prepend_file_in_user_ini()
A
45 13 40
__construct()
A
46 10 34
include_prepend_file_in_wp_config()
A
49 10 28
get_htaccess_rules()
A
44 8 51
install()
A
52 8 26
wpconfig_path()
S
55 7 19
put_contents()
S
57 7 17
include_prepend_file_in_htaccess()
S
55 6 19
get_file_system()
S
56 5 19
remove_prepend_file_in_wp_config()
S
57 5 17
maybe_regenerate_firewall()
S
59 5 16
update_wp_config_rule()
S
57 4 17
should_regenerate_firewall()
S
59 4 16
remove_auto_prepend_file_in_user_ini()
S
58 4 16
get_home_path()
S
64 5 9
update_firewall()
S
50 3 28
get_contents()
S
66 4 8
is_settings_page()
S
65 4 9
uninstall()
S
64 3 12
remove_prepend_file_in_htaccess()
S
63 3 11
notices()
S
47 1 40
delete_file()
S
65 3 10
file_exists()
S
75 2 4
uses_htaccess_conf()
S
66 2 8
htaccess_path()
S
67 2 8
is_writable()
S
75 2 4
get_headers_nonce()
S
70 2 6
has_rules()
S
70 2 6
firewall_active_error()
S
71 2 6
get_wp_config_rule()
S
63 2 10
has_user_ini_file()
S
69 2 7
get_user_ini_path()
S
69 2 7
sanitize_path()
S
78 1 3
uses_htaccess()
S
80 1 3
firewall_write_error()
S
80 1 3
wp_config_contains_latest()
S
81 1 3
remove_advanced_headers()
S
82 1 3
get_environment_signature()
S
66 1 9
get_advanced_headers_path()
S
80 1 3
get_dynamic_path()
S
79 1 3