-
Home
-
Patchstack – WordPress & Plugins Security
-
2.3.1 (latest)
-
Code
-
Classes
- P_Htaccess
Total Complexity |
57 |
Dependencies |
1 |
Dependents |
0 |
Total lines |
327 |
Lines of code |
179 |
Logical lines of code |
125 |
Comment lines |
98 |
Methods |
12 |
Properties |
0 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
self_check() |
A |
42 |
12 |
49 |
write_rules_to_htaccess() |
A |
50 |
10 |
26 |
firewall() |
S |
55 |
6 |
19 |
write_to_htaccess() |
S |
60 |
6 |
12 |
get_custom_rules() |
S |
60 |
5 |
13 |
get_firewall_rule_settings() |
S |
62 |
4 |
10 |
update_option_extras() |
S |
64 |
3 |
9 |
is_server_supported() |
S |
64 |
3 |
9 |
delete_all_between() |
S |
64 |
3 |
9 |
cleanup_htaccess_file() |
S |
62 |
2 |
11 |
__construct() |
S |
67 |
2 |
7 |
get_site_status_code() |
S |
73 |
1 |
5 |