WIO_Attachment C

Total Complexity 112
Dependencies 6
Dependents 2
Total lines 978
Lines of code 583
Logical lines of code 385
Comment lines 189
Methods 23
Properties 6

Methods 23

Method Rating Maintainability Complexity Lines of code
optimize()
B
29
18 150
deferredOptimization()
B
35 15 95
optimizeImageSizes()
A
40 11 62
resize()
A
43 9 50
regenerate_metadata()
A
49 8 30
isNeedResize()
A
50 8 30
replaceOriginalFile()
A
52 8 25
remoteDownloadImage()
S
52 5 25
writeLog()
S
55 5 17
reload()
S
61 2 13
getOptimizationData()
S
63 2 11
getImageSizePath()
S
66 2 8
getImageSizeUrl()
S
66 2 8
get()
S
72 2 6
__construct()
S
66 2 9
getPath()
S
68 2 8
isset_attachment_meta()
S
79 2 3
getAllowedSizes()
S
67 2 8
isOptimized()
S
69 2 7
set_paths()
S
67 2 7
getMetaData()
S
82 1 3
backup()
S
76 1 4
restore()
S
76 1 4