BadIPHelper S

Total Complexity 41
Dependencies 1
Dependents 1
Total lines 245
Lines of code 173
Logical lines of code 108
Comment lines 15
Methods 12
Properties 0

Methods 12

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
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