BadIPHelper S

Total Complexity 35
Dependencies 1
Dependents 1
Total lines 230
Lines of code 160
Logical lines of code 97
Comment lines 14
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
updateDB()
S
43 5 54
time_elapsed_bad_ip()
S
50 6 25
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