ABJ_404_Solution_PluginLogic D

Total Complexity 425
Dependencies 8
Dependents 13
Total lines 2,062
Lines of code 1,469
Logical lines of code 938
Comment lines 281
Methods 53
Properties 6

Methods 53

Method Rating Maintainability Complexity Lines of code
updateOptionsFromPOST()
D
16
82 192
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
handleIgnoreAction()
A
46 12 38
handleLaterAction()
A
46 12 38
initializeIgnoreValues()
A
42 11 49
sendTo404Page()
A
43 11 42
hanldeTrashAction()
A
48 10 35
getPageTitleFromIDAndType()
A
48 10 33
orderPageResults()
A
46 9 38
handleActionEdit()
A
52 10 22
addAdminRedirect()
A
47 9 33
tryNormalPostQuery()
A
48 9 30
getRedirectTypeAndDest()
A
46 8 36
forceRedirect()
S
46 6 38
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
runOnPluginActivation()
S
56 4 19
updateToNewVersion()
S
55 4 19
doUnregisterCrons()
S
57 4 17
shouldNotifyAboutCaptured404s()
S
64 5 9
doEmptyTrash()
S
53 3 23
getDefaultOptions()
S
43 1 50
sanitizePostData()
S
62 3 12
emailCaptured404Notification()
S
50 2 26
doExport()
S
57 2 18
findChildPages()
S
66 3 9
removeUsedChildPages()
S
64 3 10
findAllMainPages()
S
66 3 9
compareByID()
S
67 3 9
thereIsAUserSpecified404Page()
S
66 3 8
sortByTypeThenTitle()
S
68 2 7
removeHomeDirectory()
S
66 2 8
handleActionExport()
S
71 2 6
readCookieWithPreviousRqeuestShort()
S
68 2 7
getCommentPartAndQueryPartOfRequest()
S
66 2 8
doUpdateDBVersionOption()
S
67 2 8
doRegisterCrons()
S
68 2 6
handleActionChangeItemsPerRow()
S
70 2 6
__construct()
S
65 2 9
getInstance()
S
68 2 7
getExportFilename()
S
76 1 4
updateOptions()
S
76 1 4
getDebugLogFileLink()
S
80 1 3
updatePerPageOption()
S
68 1 7