BVProtectFW_V565 D

Total Complexity 357
Dependencies 9
Dependents 2
Total lines 1,521
Lines of code 1,120
Logical lines of code 656
Comment lines 2
Methods 83
Properties 45

Methods 83

Method Rating Maintainability Complexity Lines of code
__construct()
D
29
53 103
profileRequestData()
C
34 25 89
initWPFRule()
B
45 17 35
initRules()
A
46 16 37
profileRequest()
A
44 15 43
handleRequestOnRuleMatch()
A
46 13 36
loadWPUser()
A
48 9 32
getParamsToLog()
A
55 8 19
getCurrentWPUserRoleLevel()
A
57 8 18
getRequestDataToLog()
S
47 6 34
blockRequestForBlacklistedIP()
S
62 7 12
handleRequestOnWPPreInsertUserData()
S
51 5 28
setBypassCookie()
S
61 6 12
handleRequestOnInsertUserMeta()
S
54 5 21
setWPUserCookieHandler()
S
58 5 15
canLogValue()
S
61 5 13
getSlicedValueToLog()
S
57 4 17
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
setCookie()
S
59 4 13
matchCount()
S
61 4 12
canRequestBypassFirewall()
S
62 4 12
getCurrentWPUserCapabilities()
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
handleRequestOnDeleteUser()
S
60 3 13
updateRuleLog()
S
62 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
canLogCookieValue()
S
70 3 6
canLogPostValue()
S
70 3 6
canLogHeaderValue()
S
70 3 6
canLogKeyValue()
S
70 3 6
setAdminCookie()
S
72 3 5
canInitWPFRules()
S
71 3 6
setWPUserCookie()
S
72 3 5
getUserLogData()
S
61 2 13
handleRequestOnUserRegister()
S
60 2 13
handleRequestOnPreDeletePost()
S
60 2 13
getCurrentWPUser()
S
60 2 13
handleRequestOnAddOption()
S
63 2 11
handleRequestOnPasswordReset()
S
62 2 11
inspectRequest()
S
61 2 11
getWPFRules()
S
71 2 6
setShutdownCallback()
S
71 2 6
pushWPFRule()
S
70 2 6
log()
S
74 2 5
handleRequestOnInit()
S
69 2 7
handleRequestOnDeleteOption()
S
66 2 8
handleRequestOnPreUpdateOption()
S
64 2 9
getBVCookies()
S
67 2 8
isWPMode()
S
80 1 3
generateBypassCookie()
S
74 1 4
isWPFRuleInitModeWP()
S
80 1 3
unsetCookie()
S
75 1 4
isPrependMode()
S
80 1 3
isRequestIPWhitelisted()
S
80 1 3
isWPFRuleInitModePrepend()
S
80 1 3
uninstall()
S
80 1 3
isLoggingModeVisitor()
S
80 1 3
isGeoBlockingEnabled()
S
80 1 3
initRule()
S
80 1 3
isModeDisabled()
S
80 1 3
isRequestProfilingModeDebug()
S
80 1 3
isLoggingModeComplete()
S
80 1 3
isRequestProfilingDisabled()
S
80 1 3
getRawBodyToLog()
S
80 1 3
isModeProtect()
S
80 1 3
canLogJsonValue()
S
79 1 3
isIPCookieEnabled()
S
80 1 3
isAdminCookieEnabled()
S
80 1 3
isRulesModeProtect()
S
80 1 3