WPShortPixel D

Total Complexity 781
Dependencies 34
Dependents 6
Total lines 4,111
Lines of code 2,780
Logical lines of code 1,760
Comment lines 899
Methods 113
Properties 10

Methods 113

Method Rating Maintainability Complexity Lines of code
handleImageProcessing()
D
8
101 279
doRestore()
D
15
65 241
generateCustomColumn()
D
25
50 127
getBulkItemsFromDb()
D
26
48 117
getQuotaInformation()
C
28
27 124
handleCustomBulk()
B
40 19 55
handleMediaLibraryImageUpload()
B
39 17 61
browseContent()
B
42 18 45
bulkRestore()
B
39 17 58
handleOptimizeThumbs()
B
40 17 53
sendToProcessing()
B
41 16 51
thumbnailsRegeneratedHook()
A
41 15 51
shortPixelJS()
A
33 11 94
countAllIfNeeded()
A
47 14 34
toolbar_shortpixel_processing()
A
39 11 65
loadHooks()
A
38 11 60
migrateBackupFolder()
A
47 12 38
newApiKey()
A
44 11 41
columnOrderFilterBy()
A
45 10 43
_isProcessablePath()
A
53 10 20
_isProcessable()
A
55 10 17
redo()
A
45 8 40
deleteBackupsAndWebPs()
A
48 8 33
getComparerData()
A
48 8 32
optimizeNowHook()
A
49 8 30
isProcessableSize()
A
58 9 13
alterHtaccess()
A
40 4 87
handleDeleteAttachmentInBackup()
A
52 8 24
bulkProgressMessage()
A
53 8 20
doCustomRestore()
A
43 6 48
setFilePerms()
A
56 8 16
matchExcludePattern()
S
53 7 24
addPathToCustomFolder()
S
44 5 44
folderSize()
S
52 6 28
handleCheckQuota()
S
51 6 27
proposeUpgrade()
S
48 5 30
getBackupFolderInternal()
S
50 5 30
admin_footer_js()
S
52 5 27
handleManualOptimization()
S
52 5 24
checkQuotaAndAlert()
S
54 5 21
getAllThumbnailSizes()
S
56 5 17
getMaxIntermediateImageSize()
S
57 5 16
deactivatePlugin()
S
57 5 15
restoreAndQueueList()
S
59 5 13
getBackupFolderAny()
S
60 5 13
checkKey()
S
60 5 11
mediaAddFilterDropdown()
S
55 4 17
maybeDumpFromProcessedOnServer()
S
58 4 16
dismissAdminNotice()
S
61 5 10
setBulkInfo()
S
57 4 15
deleteDir()
S
59 4 14
sendEmptyQueue()
S
54 3 22
optimizeCustomImage()
S
54 3 21
getPercent()
S
66 4 7
__construct()
S
58 3 13
setDefaultViewModeList()
S
62 3 12
backupFolderIsEmpty()
S
72 3 5
onDeleteImage()
S
59 2 15
addAvifMime()
S
67 3 8
getFromPrioAndCheck()
S
66 3 8
resetQuotaExceeded()
S
64 3 10
addWebpMime()
S
67 3 8
shortpixelInfoBox()
S
63 2 11
onWpLrUpdateMedia()
S
63 2 11
optimizationPercentIfPng2Jpg()
S
72 2 4
columns()
S
64 2 10
validateFeedback()
S
70 2 6
emptyBackup()
S
74 2 5
getAverageCompression()
S
71 2 5
isValidMetaId()
S
76 2 3
advanceBulk()
S
71 2 6
getBackupFolder()
S
65 2 9
shortpixelGetBackupFilter()
S
74 2 4
getBackupSize()
S
70 2 6
fetch_cloudflare_api_email()
S
82 1 3
getSettings()
S
82 1 3
displayAdminNotices()
S
91 1 2
getApiKey()
S
82 1 3
getPrioQ()
S
82 1 3
backupImages()
S
82 1 3
processThumbnails()
S
82 1 3
getCMYKtoRGBconversion()
S
82 1 3
getResizeImages()
S
82 1 3
getSpMetaDao()
S
82 1 3
getResizeWidth()
S
82 1 3
dismissMediaAlert()
S
74 1 4
fetch_cloudflare_api_key()
S
82 1 3
getResizeHeight()
S
82 1 3
getAffiliateSufix()
S
76 1 4
getVerifiedKey()
S
82 1 3
getCompressionType()
S
82 1 3
getOtherCompressionTypes()
S
77 1 3
convertPng2Jpg()
S
75 1 4
dismissFileError()
S
74 1 4
generatePluginLinks()
S
73 1 5
getThumbsToOptimize()
S
80 1 3
columnRegisterSortable()
S
77 1 4
deactivateAndRedirect()
S
73 1 5
handleRedo()
S
68 1 6
handleRestoreBackup()
S
66 1 8
shortpixelInfoBoxContent()
S
80 1 3
throwNotice()
S
81 1 3
formatBytes()
S
75 1 4
log()
S
81 1 3
isProcessable()
S
75 1 4
isProcessablePath()
S
75 1 4
thumbnailsBeforeRegenerateHook()
S
80 1 3
checkStatus()
S
70 1 5
checkConvertMediaPng2Jpg()
S
75 1 4
getURLsAndPATHs()
S
78 1 3
getCustomFolderBase()
S
70 1 6
doLog()
S
80 1 3
fetch_cloudflare_api_zoneid()
S
82 1 3