BVProtectFW_V541 D

Total Complexity 325
Dependencies 9
Dependents 2
Total lines 1,417
Lines of code 1,046
Logical lines of code 607
Comment lines 2
Methods 79
Properties 41

Methods 79

Method Rating Maintainability Complexity Lines of code
__construct()
D
32 45 88
profileRequestData()
C
34 25 89
initWPFRule()
B
45 17 35
initRules()
A
46 16 37
handleRequestOnRuleMatch()
A
46 13 36
loadWPUser()
A
49 8 28
getCurrentWPUserRoleLevel()
A
57 8 18
getRequestDataToLog()
S
47 6 34
blockRequestForBlacklistedIP()
S
62 7 12
profileRequest()
S
52 6 24
getPostParamsToLog()
S
53 6 23
handleRequestOnWPPreInsertUserData()
S
51 5 28
setBypassCookie()
S
61 6 12
handleRequestOnInsertUserMeta()
S
54 5 21
setWPUserCookieHandler()
S
58 5 14
addWPHook()
S
58 4 15
setIPCookie()
S
62 5 10
handleRequestOnWPInsertPostEmptyContent()
S
58 4 15
getCookiesToLog()
S
61 4 13
getHeadersToLog()
S
61 4 13
matchCount()
S
61 4 12
getCurrentWPUserCapabilities()
S
62 4 12
canRequestBypassFirewall()
S
62 4 12
getInstance()
S
62 4 11
terminateRequest()
S
54 3 23
isRequestHasValidBypassCookie()
S
64 4 9
getUserBy()
S
71 4 5
canLogRequest()
S
65 4 9
init()
S
61 3 14
updateRuleLog()
S
62 3 13
handleRequestOnDeleteUser()
S
60 3 13
getLength()
S
63 3 11
handleRequestOnSendAuthCookies()
S
55 2 20
handleRequestOnSetAuthCookie()
S
55 2 19
handleRequestOnUpdateUserMetadata()
S
56 2 18
handleRequestOnUpdateUserMeta()
S
58 2 16
handleRequestOnAddUserMeta()
S
59 2 15
setWPUserCookie()
S
72 3 5
canLogValue()
S
67 3 8
canLogHeaderValue()
S
70 3 6
canLogPostValue()
S
70 3 6
canLogCookieValue()
S
70 3 6
setAdminCookie()
S
72 3 5
canInitWPFRules()
S
71 3 6
setCookie()
S
62 3 10
handleRequestOnUserRegister()
S
60 2 13
handleRequestOnPreDeletePost()
S
60 2 13
getCurrentWPUser()
S
60 2 13
getUserLogData()
S
61 2 13
handleRequestOnAddOption()
S
63 2 11
handleRequestOnPasswordReset()
S
62 2 11
inspectRequest()
S
64 2 9
getWPFRules()
S
71 2 6
pushWPFRule()
S
70 2 6
setShutdownCallback()
S
71 2 6
getBVCookies()
S
67 2 8
handleRequestOnDeleteOption()
S
66 2 8
handleRequestOnPreUpdateOption()
S
64 2 9
handleRequestOnInit()
S
69 2 7
log()
S
74 2 5
isWPFRuleInitModeWP()
S
80 1 3
isWPFRuleInitModePrepend()
S
80 1 3
isRequestIPWhitelisted()
S
80 1 3
isPrependMode()
S
80 1 3
isGeoBlockingEnabled()
S
80 1 3
isWPMode()
S
80 1 3
uninstall()
S
80 1 3
isLoggingModeVisitor()
S
80 1 3
unsetCookie()
S
75 1 4
isModeDisabled()
S
80 1 3
generateBypassCookie()
S
74 1 4
isRequestProfilingModeDebug()
S
80 1 3
initRule()
S
80 1 3
isRequestProfilingDisabled()
S
80 1 3
isModeProtect()
S
80 1 3
isIPCookieEnabled()
S
80 1 3
isAdminCookieEnabled()
S
80 1 3
isLoggingModeComplete()
S
80 1 3
isRulesModeProtect()
S
80 1 3