-
Home
-
Wordfence Security – Firewall, Malware Scan, and Login Security
-
8.1.0 (latest)
-
Code
-
Classes
- wfRateLimit
| Total Complexity |
83 |
| Dependencies |
5 |
| Dependents |
2 |
| Total lines |
251 |
| Lines of code |
189 |
| Logical lines of code |
120 |
| Comment lines |
20 |
| Methods |
16 |
| Properties |
2 |
Methods 16
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| mightRateLimit() |
B |
39 |
21 |
61 |
| shouldEnforce() |
B |
56 |
19 |
15 |
| isEnabled() |
A |
57 |
11 |
15 |
| limit() |
S |
60 |
6 |
15 |
| identicalHumanBotRateLimits() |
S |
56 |
5 |
19 |
| visitorType() |
S |
66 |
5 |
7 |
| globalRateLimit() |
S |
69 |
2 |
7 |
| crawlerViewsRateLimit() |
S |
69 |
2 |
7 |
| crawler404sRateLimit() |
S |
69 |
2 |
7 |
| humanViewsRateLimit() |
S |
69 |
2 |
7 |
| human404sRateLimit() |
S |
69 |
2 |
7 |
| _hitCount() |
S |
70 |
2 |
6 |
| table() |
S |
80 |
1 |
3 |
| trimData() |
S |
72 |
1 |
5 |
| countHit() |
S |
71 |
1 |
5 |
| __construct() |
S |
81 |
1 |
3 |