-
Home
-
Wordfence Security – Firewall, Malware Scan, and Login Security
-
7.9.0
-
Code
-
Classes
- wfWAFUserIPRange
Total Complexity |
76 |
Dependencies |
1 |
Dependents |
2 |
Total lines |
253 |
Lines of code |
193 |
Logical lines of code |
136 |
Comment lines |
41 |
Methods |
10 |
Properties |
1 |
Methods 10
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 |
61 |
6 |
11 |
isValidRange() |
S |
76 |
4 |
3 |
_sanitizeIPRange() |
S |
61 |
2 |
12 |
__construct() |
S |
81 |
1 |
3 |
getIPString() |
S |
82 |
1 |
3 |
setIPString() |
S |
80 |
1 |
3 |