WRIO_Media_Library B

Total Complexity 90
Dependencies 12
Dependents 7
Total lines 840
Lines of code 467
Logical lines of code 293
Comment lines 238
Methods 27
Properties 2

Methods 27

Method Rating Maintainability Complexity Lines of code
processUnoptimizedImages()
A
38 12 68
calculateMediaLibraryParams()
A
40 11 60
webpSuccess()
A
45 9 41
restoreAllFromBackup()
A
46 8 40
webpUnoptimizedImages()
S
46 5 40
optimize_after_upload()
S
56 6 17
optimizeAttachment()
S
51 4 27
deferredOptimizeAttachment()
S
54 3 22
processDeferredOptimization()
S
63 3 11
restoreAttachment()
S
56 2 19
getUnoptimizedImages()
S
58 2 16
attachmentEditorFields()
S
60 2 14
initHooks()
S
59 2 13
get_instance()
S
71 2 6
optimizedPercent()
S
69 2 7
deleteAttachmentHook()
S
71 2 6
getAttachment()
S
70 2 6
getOptimizedCount()
S
69 2 7
manageMediaColumn()
S
71 2 6
enqueueMeadiaScripts()
S
67 2 7
optimize_after_retina_2x_add()
S
75 1 4
getUnconvertedImages()
S
81 1 3
getMediaColumnContent()
S
76 1 4
getMediaColumnTemplate()
S
72 1 5
resetCurrentErrors()
S
67 1 8
webpConvertAttachment()
S
70 1 6
addMediaColumn()
S
75 1 4