-
Home
-
bad_ip WP
-
2.0.5
-
Code
-
Classes
- BadIPHelper
Total Complexity |
43 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
265 |
Lines of code |
189 |
Logical lines of code |
121 |
Comment lines |
15 |
Methods |
13 |
Properties |
0 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
time_elapsed_bad_ip() |
A |
45 |
12 |
38 |
updateDB() |
S |
43 |
5 |
54 |
getUserIP() |
S |
55 |
6 |
20 |
needUpgrade() |
S |
54 |
5 |
19 |
denyAccess() |
S |
58 |
2 |
16 |
is_bot() |
S |
58 |
2 |
12 |
checkOnline() |
S |
69 |
2 |
6 |
getQueryWhitelist() |
S |
70 |
2 |
5 |
getIPWhitelist() |
S |
70 |
2 |
5 |
getIPBlacklist() |
S |
70 |
2 |
5 |
checkQuery() |
S |
79 |
1 |
3 |
checkIPInWhiteList() |
S |
79 |
1 |
3 |
checkIPInBlacklist() |
S |
79 |
1 |
3 |