-
Home
-
Wordfence Security – Firewall, Malware Scan, and Login Security
-
8.1.0 (latest)
-
Code
-
Classes
- wfWAFIPBlocksController
| Total Complexity |
142 |
| Dependencies |
10 |
| Dependents |
5 |
| Total lines |
521 |
| Lines of code |
388 |
| Logical lines of code |
267 |
| Comment lines |
58 |
| Methods |
11 |
| Properties |
1 |
Methods 11
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| shouldBlockRequest() |
D |
19 |
79 |
159 |
| synchronizeConfigSettings() |
A |
35 |
13 |
80 |
| checkForWhitelisted() |
A |
44 |
14 |
42 |
| checkForBlockedCountry() |
A |
47 |
12 |
34 |
| isFullSSL() |
A |
54 |
8 |
20 |
| countryRedirURL() |
S |
57 |
5 |
17 |
| countryBypassRedirURL() |
S |
59 |
4 |
15 |
| currentController() |
S |
71 |
2 |
6 |
| setNeedsSynchronizeConfigSettings() |
S |
69 |
2 |
7 |
| ip2Country() |
S |
72 |
2 |
5 |
| setCurrentController() |
S |
80 |
1 |
3 |