ABJ_404_Solution_DataAccess D

Total Complexity 299
Dependencies 12
Dependents 29
Total lines 2,202
Lines of code 1,472
Logical lines of code 993
Comment lines 340
Methods 71
Properties 1

Methods 71

Method Rating Maintainability Complexity Lines of code
deleteOldRedirectsCron()
C
28
26 128
getRedirectsForViewQuery()
B
34 16 90
queryAndGetResults()
B
37 15 70
deleteSpecifiedRedirects()
A
41 15 51
logRedirectHit()
A
39 11 62
insertAndGetResults()
A
49 10 30
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
getPublishedCategories()
S
47 6 33
getPostOrGetSanitize()
S
59 7 15
getRedirectsForViewCount()
S
52 6 23
repairDuplicateIDs()
S
53 6 22
isMyISAMSupported()
S
57 6 16
custom_sql_escape()
S
58 6 14
getActiveRedirectForURL()
S
50 5 28
maybeUpdateRedirectsForViewHitsTable()
S
51 5 26
populateLogsData()
S
60 5 13
getLatestPluginVersion()
S
52 4 26
getPublishedTags()
S
50 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 21
removeDuplicatesCron()
S
55 3 20
getLogDiskUsage()
S
56 3 18
getLogsCount()
S
57 3 16
moveRedirectsToTrash()
S
57 3 16
addURLToTermsRows()
S
59 3 14
getOldSlug()
S
59 3 14
prepare_query()
S
59 3 14
updatePermalinkCacheParentPages()
S
62 3 11
getStatsCount()
S
62 3 11
getLogRecords()
S
51 2 25
deleteRedirect()
S
65 3 8
getIDsNeededForPermalinkCache()
S
57 2 15
getLogsIDandURLLike()
S
59 2 14
doTableNameReplacements()
S
59 2 14
insertLookupValueAndGetID()
S
61 2 13
getLogsIDandURL()
S
61 2 12
getSpellingPermalinksFromCache()
S
61 2 12
createRedirectsForViewHitsTable()
S
51 1 27
getLookupIDForUser()
S
62 2 11
getEarliestLogTimestamp()
S
63 2 10
getInstance()
S
71 2 6
limitDebugFileSize()
S
64 2 10
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
getCreateTableDDL()
S
66 1 8
updatePermalinkCache()
S
71 1 6
truncatePermalinkCacheTable()
S
71 1 6
updateRedirectTypeStatus()
S
70 1 6
getRedirectsByIDs()
S
63 1 10
correctDuplicateLookupValues()
S
76 1 4
removeFromPermalinkCache()
S
70 1 6
prepare_query_wp()
S
72 1 5
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