-
Home
-
Wordfence Security – Firewall, Malware Scan, and Login Security
-
8.0.5 (latest)
-
Code
-
Classes
- wfWAFUserIPRange
Total Complexity |
78 |
Dependencies |
1 |
Dependents |
2 |
Total lines |
264 |
Lines of code |
201 |
Logical lines of code |
141 |
Comment lines |
41 |
Methods |
11 |
Properties |
1 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
isIPInRange() |
D |
33 |
33 |
89 |
isValidCIDRRange() |
A |
56 |
10 |
16 |
expandIPv6Range() |
A |
48 |
9 |
29 |
isValidBracketedRange() |
A |
51 |
9 |
24 |
isValidLinearRange() |
S |
58 |
6 |
14 |
isValidRange() |
S |
76 |
4 |
3 |
_sanitizeIPRange() |
S |
61 |
2 |
12 |
repeatString() |
S |
72 |
2 |
5 |
__construct() |
S |
81 |
1 |
3 |
getIPString() |
S |
82 |
1 |
3 |
setIPString() |
S |
80 |
1 |
3 |