WIO_Attachment C

Total Complexity 113
Dependencies 6
Dependents 2
Total lines 995
Lines of code 593
Logical lines of code 389
Comment lines 194
Methods 24
Properties 6

Methods 24

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
48 9 33
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
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
getConversionData()
S
66 1 9
getOptimizationData()
S
66 1 9
getMetaData()
S
82 1 3
backup()
S
76 1 4
restore()
S
76 1 4