WRIO_Media_Library B

Total Complexity 86
Dependencies 12
Dependents 7
Total lines 832
Lines of code 453
Logical lines of code 283
Comment lines 245
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
deferredOptimizeAttachment()
S
54 3 22
optimizeAttachment()
S
54 3 21
processDeferredOptimization()
S
63 3 11
restoreAttachment()
S
56 2 19
getUnoptimizedImages()
S
58 2 16
optimize_after_upload()
S
65 3 9
attachmentEditorFields()
S
60 2 14
initHooks()
S
59 2 13
getAttachment()
S
70 2 6
getOptimizedCount()
S
69 2 7
manageMediaColumn()
S
71 2 6
enqueueMeadiaScripts()
S
67 2 7
deleteAttachmentHook()
S
71 2 6
optimizedPercent()
S
69 2 7
get_instance()
S
71 2 6
webpConvertAttachment()
S
70 1 6
resetCurrentErrors()
S
67 1 8
getUnconvertedImages()
S
81 1 3
addMediaColumn()
S
75 1 4
getMediaColumnTemplate()
S
72 1 5
getMediaColumnContent()
S
76 1 4
optimize_after_retina_2x_add()
S
75 1 4