HMWP_Controllers_Firewall D

Total Complexity 363
Dependencies 3
Dependents 0
Total lines 727
Lines of code 420
Logical lines of code 224
Comment lines 180
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
run()
D
0
276 127
isSearchEngineBot()
A
39 9 72
_inetNtop()
A
46 11 36
_inetPton()
A
48 10 29
checkWhitelistPaths()
A
51 10 26
getHostname()
A
53 8 21
getServerVariableIPs()
S
56 6 18
checkBlacklistIPs()
S
59 6 14
checkWhitelistIPs()
S
61 5 13
whitelistLevel()
S
61 4 14
getCleanIp()
S
62 4 12
firewallBlock()
S
61 4 11
inetNtop()
S
68 4 6
inetPton()
S
73 2 4
isIPv6Support()
S
80 1 3
isValidIP()
S
78 1 3
isIPv6MappedIPv4()
S
79 1 3
getValidHeaders()
S
69 1 8