Brizy_Editor_CropCacheMedia S

Total Complexity 41
Dependencies 6
Dependents 4
Total lines 250
Lines of code 139
Logical lines of code 88
Comment lines 42
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
download_original_image()
A
54 8 19
getImgPath()
S
51 5 23
crop_media()
S
58 4 16
getImgUrl()
S
59 4 14
getAttachmentId()
S
59 4 14
getImgUrlByWpSize()
S
65 4 8
cacheImgs()
S
58 3 14
getOriginalPath()
S
63 3 11
getImgPathByWpSize()
S
67 2 7
__construct()
S
80 1 3
getOrignalImgSizes()
S
74 1 4
basename()
S
79 1 3
buildPath()
S
79 1 3