ABJ_404_Solution_DataAccess D

Total Complexity 272
Dependencies 9
Dependents 14
Total lines 2,080
Lines of code 1,391
Logical lines of code 936
Comment lines 318
Methods 66
Properties 1

Methods 66

Method Rating Maintainability Complexity Lines of code
deleteOldRedirectsCron()
C
28
26 128
getRedirectsForViewQuery()
B
35 16 84
queryAndGetResults()
B
38 15 67
deleteSpecifiedRedirects()
A
41 15 51
logRedirectHit()
A
40 10 58
repairTable()
A
47 9 34
getPublishedPagesAndPostsIDs()
A
43 8 48
insertAndGetResults()
A
46 8 37
shouldEmailErrorFile()
A
50 8 27
setupRedirect()
A
46 7 39
executeAsTransaction()
S
50 7 29
getPublishedCategories()
S
47 6 34
getPostOrGetSanitize()
S
59 7 15
getRedirectsForViewCount()
S
52 6 23
repairDuplicateIDs()
S
53 6 22
getActiveRedirectForURL()
S
50 5 28
maybeUpdateRedirectsForViewHitsTable()
S
51 5 26
populateLogsData()
S
60 5 13
getPublishedTags()
S
50 4 27
getLatestPluginVersion()
S
52 4 26
getRedirectsForView()
S
52 4 23
doRedirectsExport()
S
53 4 23
getRecordCount()
S
54 4 20
getExistingRedirectForURL()
S
57 4 17
updateRedirect()
S
50 3 30
getPublishedImagesIDs()
S
53 3 22
removeDuplicatesCron()
S
55 3 20
getLogDiskUsage()
S
56 3 18
moveRedirectsToTrash()
S
57 3 16
getLogsCount()
S
57 3 16
getOldSlug()
S
59 3 14
addURLToTermsRows()
S
59 3 14
getStatsCount()
S
62 3 11
updatePermalinkCacheParentPages()
S
62 3 11
getLogRecords()
S
53 2 22
getIDsNeededForPermalinkCache()
S
56 2 16
deleteRedirect()
S
65 3 8
getLogsIDandURLLike()
S
59 2 14
doTableNameReplacements()
S
59 2 14
insertLookupValueAndGetID()
S
61 2 13
getSpellingPermalinksFromCache()
S
61 2 12
createRedirectsForViewHitsTable()
S
51 1 27
getLogsIDandURL()
S
61 2 12
getLookupIDForUser()
S
62 2 11
getEarliestLogTimestamp()
S
63 2 10
getInstance()
S
71 2 6
limitDebugFileSize()
S
64 2 10
getCapturedCount()
S
64 2 10
getPermalinkFromCache()
S
64 2 10
getPermalinkEtcFromCache()
S
65 2 9
getAllPostTypes()
S
64 2 10
importDataFromPluginRedirectioner()
S
59 1 14
getRedirectsWithRegEx()
S
62 1 12
getRedirectsAll()
S
69 1 7
getMyISAMTables()
S
73 1 5
deleteSpellingCache()
S
77 1 4
storeSpellingPermalinksToCache()
S
67 1 7
correctDuplicateLookupValues()
S
76 1 4
getRedirectsWithLogs()
S
68 1 7
removeFromPermalinkCache()
S
70 1 6
getRedirectsByIDs()
S
63 1 10
updateRedirectTypeStatus()
S
70 1 6
truncatePermalinkCacheTable()
S
71 1 6
updatePermalinkCache()
S
71 1 6
getCreateTableDDL()
S
66 1 8
getCapturedCountForNotification()
S
76 1 4