ABJ_404_Solution_PluginLogic D

Total Complexity 492
Dependencies 8
Dependents 15
Total lines 2,426
Lines of code 1,707
Logical lines of code 1,105
Comment lines 367
Methods 60
Properties 7

Methods 60

Method Rating Maintainability Complexity Lines of code
updateOptionsFromPOST()
D
13
95 229
handlePluginAction()
C
34 30 84
getTableOptions()
C
34 26 82
doBulkAction()
B
38 22 64
updateRedirectData()
B
40 21 51
loadDataArrayFromFile()
B
38 19 68
updateToNewVersionAction()
B
35 16 85
getOptions()
A
50 13 28
handleLaterAction()
A
46 12 38
handleIgnoreAction()
A
46 12 38
initializeIgnoreValues()
A
42 11 49
sendTo404Page()
A
43 11 41
hanldeTrashAction()
A
48 10 35
tryNormalPostQuery()
A
47 10 34
getPageTitleFromIDAndType()
A
48 10 33
orderPageResults()
A
46 9 38
handleActionEdit()
A
52 10 22
addAdminRedirect()
A
47 9 33
userIsPluginAdmin()
A
49 9 33
getRedirectTypeAndDest()
A
46 8 36
doImportFile()
S
51 7 26
forceRedirect()
S
45 6 40
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
51 4 24
runOnPluginActivation()
S
56 4 19
updateToNewVersion()
S
55 4 19
doUnregisterCrons()
S
57 4 17
sanitizePostData()
S
58 4 16
shouldNotifyAboutCaptured404s()
S
64 5 9
getDefaultOptions()
S
42 1 54
doEmptyTrash()
S
53 3 22
splitCsvLine()
S
56 3 19
emailCaptured404Notification()
S
50 2 26
doExport()
S
56 2 19
thereIsAUserSpecified404Page()
S
66 3 8
handleActionExport()
S
68 3 7
sanitizeForSQL()
S
67 3 8
findChildPages()
S
66 3 9
removeUsedChildPages()
S
64 3 10
findAllMainPages()
S
66 3 9
readCookieWithPreviousRqeuestShort()
S
65 3 9
compareByID()
S
67 3 9
getInstance()
S
65 2 9
removeHomeDirectory()
S
66 2 8
sortByTypeThenTitle()
S
68 2 7
doUpdateDBVersionOption()
S
67 2 8
__construct()
S
65 2 9
doRegisterCrons()
S
68 2 6
getCommentPartAndQueryPartOfRequest()
S
66 2 8
handleActionChangeItemsPerRow()
S
70 2 6
handleActionImportFile()
S
69 2 7
updateOptions()
S
76 1 4
getDebugLogFileLink()
S
80 1 3
getExportFilename()
S
76 1 4
updatePerPageOption()
S
68 1 7