ABJ_404_Solution_DataAccess D

Total Complexity 300
Dependencies 13
Dependents 15
Total lines 2,240
Lines of code 1,503
Logical lines of code 1,010
Comment lines 345
Methods 71
Properties 1

Methods 71

Method Rating Maintainability Complexity Lines of code
deleteOldRedirectsCron()
C
28
26 130
queryAndGetResults()
B
34 22 85
getRedirectsForViewQuery()
B
34 16 90
logRedirectHit()
B
34 15 87
deleteSpecifiedRedirects()
A
41 15 51
repairTable()
A
47 9 34
getPublishedPagesAndPostsIDs()
A
43 8 47
get_stripped_query_result()
A
51 8 28
shouldEmailErrorFile()
A
50 8 27
setupRedirect()
A
46 7 39
executeAsTransaction()
S
50 7 29
insertAndGetResults()
S
50 7 26
getPublishedCategories()
S
47 6 33
getRedirectsForViewCount()
S
52 6 23
repairDuplicateIDs()
S
53 6 22
isMyISAMSupported()
S
57 6 16
getActiveRedirectForURL()
S
50 5 29
maybeUpdateRedirectsForViewHitsTable()
S
51 5 26
populateLogsData()
S
60 5 13
getPublishedTags()
S
50 4 26
getPostOrGetSanitize()
S
62 5 11
getLatestPluginVersion()
S
52 4 26
doRedirectsExport()
S
53 4 23
getRedirectsForView()
S
52 4 23
getRecordCount()
S
54 4 20
getExistingRedirectForURL()
S
56 4 18
updateRedirect()
S
50 3 30
getPublishedImagesIDs()
S
53 3 21
removeDuplicatesCron()
S
55 3 20
getLogDiskUsage()
S
57 3 17
getLogsCount()
S
57 3 16
moveRedirectsToTrash()
S
57 3 16
getOldSlug()
S
59 3 14
prepare_query()
S
59 3 14
addURLToTermsRows()
S
59 3 14
getStatsCount()
S
62 3 11
updatePermalinkCacheParentPages()
S
62 3 11
getLogRecords()
S
51 2 25
doTableNameReplacements()
S
57 2 16
getIDsNeededForPermalinkCache()
S
57 2 15
deleteRedirect()
S
66 3 8
getLogsIDandURLLike()
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
64 2 10
limitDebugFileSize()
S
64 2 10
getInstance()
S
71 2 6
getPermalinkFromCache()
S
64 2 10
getAllPostTypes()
S
64 2 10
getCapturedCount()
S
64 2 10
getPermalinkEtcFromCache()
S
65 2 9
importDataFromPluginRedirectioner()
S
59 1 14
getRedirectsWithRegEx()
S
62 1 12
prepare_query_wp()
S
72 1 5
getCreateTableDDL()
S
66 1 8
updatePermalinkCache()
S
71 1 6
truncatePermalinkCacheTable()
S
74 1 5
updateRedirectTypeStatus()
S
70 1 6
getRedirectsByIDs()
S
63 1 10
correctDuplicateLookupValues()
S
76 1 4
removeFromPermalinkCache()
S
72 1 5
getExtraDataToPermalinkSuggestions()
S
63 1 10
storeSpellingPermalinksToCache()
S
67 1 7
deleteSpellingCache()
S
77 1 4
getTableEngines()
S
73 1 5
getRedirectsAll()
S
69 1 7
getRedirectsWithLogs()
S
68 1 7
getCapturedCountForNotification()
S
76 1 4