BVFW D

Total Complexity 132
Dependencies 4
Dependents 2
Total lines 537
Lines of code 424
Logical lines of code 246
Comment lines 2
Methods 37
Properties 12

Methods 37

Method Rating Maintainability Complexity Lines of code
profileRequestInfo()
C
34 25 89
getCurrentRoleLevel()
A
57 8 18
getPostParamsToLog()
S
55 6 20
executeActions()
S
57 6 18
evaluateRules()
S
57 6 16
initializeLevelWiseRuleSets()
S
58 6 15
canLog()
S
63 6 10
execute()
S
54 4 21
setBypassCookie()
S
63 5 10
matchCount()
S
61 4 12
canBypassFirewall()
S
62 4 12
terminateRequest()
S
53 3 24
blockIfBlacklisted()
S
69 4 7
ruleSetToExecute()
S
64 4 10
getLength()
S
63 3 11
getCurrentWPUser()
S
66 3 9
setcookie()
S
62 3 10
inspectRequest()
S
63 3 10
canExecuteRules()
S
71 3 6
executeRules()
S
69 2 7
getBVCookies()
S
69 2 7
canLogValue()
S
68 2 7
setIPCookie()
S
64 2 9
log()
S
72 2 6
setResponseCode()
S
69 2 7
hasValidBypassCookie()
S
74 2 4
getInstance()
S
66 2 8
handleMatchedRule()
S
78 1 4
isWPLoaded()
S
81 1 3
__construct()
S
63 1 10
isBlacklistedIP()
S
80 1 3
canSetIPCookie()
S
80 1 3
canSetAdminCookie()
S
80 1 3
isGeoBlocking()
S
82 1 3
isActive()
S
81 1 3
generateBypassCookie()
S
70 1 6
isWhitelistedIP()
S
80 1 3