ABJ_404_Solution_PluginLogic D

Total Complexity 445
Dependencies 9
Dependents 15
Total lines 2,187
Lines of code 1,543
Logical lines of code 989
Comment lines 313
Methods 55
Properties 7

Methods 55

Method Rating Maintainability Complexity Lines of code
updateOptionsFromPOST()
D
15
85 200
handlePluginAction()
C
34 30 84
getTableOptions()
C
34 26 82
doBulkAction()
B
38 22 64
updateRedirectData()
B
40 21 51
updateToNewVersionAction()
B
34 16 88
getOptions()
A
50 13 28
handleLaterAction()
A
46 12 38
handleIgnoreAction()
A
46 12 38
initializeIgnoreValues()
A
42 11 49
sendTo404Page()
A
43 11 42
hanldeTrashAction()
A
48 10 35
tryNormalPostQuery()
A
47 10 34
getPageTitleFromIDAndType()
A
48 10 33
orderPageResults()
A
46 9 38
userIsPluginAdmin()
A
47 9 37
handleActionEdit()
A
52 10 22
addAdminRedirect()
A
47 9 33
getRedirectTypeAndDest()
A
46 8 36
forceRedirect()
S
46 6 38
override_user_can_access_admin_page()
S
54 7 22
setDepthAndAddChildren()
S
52 6 26
handleDeleteAction()
S
58 6 14
handleActionImportRedirects()
S
51 5 25
getMissingParentPageIDs()
S
56 5 19
getMapOfCustomCategories()
S
59 5 15
setCookieWithPreviousRequest()
S
53 4 21
updateToNewVersion()
S
55 4 19
runOnPluginActivation()
S
56 4 19
doUnregisterCrons()
S
57 4 17
shouldNotifyAboutCaptured404s()
S
64 5 9
doEmptyTrash()
S
53 3 23
getDefaultOptions()
S
43 1 51
sanitizePostData()
S
62 3 12
emailCaptured404Notification()
S
50 2 26
doExport()
S
57 2 18
findAllMainPages()
S
66 3 9
removeUsedChildPages()
S
64 3 10
thereIsAUserSpecified404Page()
S
66 3 8
findChildPages()
S
66 3 9
compareByID()
S
67 3 9
sortByTypeThenTitle()
S
68 2 7
getInstance()
S
65 2 9
getCommentPartAndQueryPartOfRequest()
S
66 2 8
__construct()
S
65 2 9
handleActionExport()
S
71 2 6
handleActionChangeItemsPerRow()
S
70 2 6
doRegisterCrons()
S
68 2 6
doUpdateDBVersionOption()
S
67 2 8
readCookieWithPreviousRqeuestShort()
S
68 2 7
removeHomeDirectory()
S
66 2 8
getExportFilename()
S
76 1 4
getDebugLogFileLink()
S
80 1 3
updateOptions()
S
76 1 4
updatePerPageOption()
S
68 1 7