C_NggLegacy_Thumbnail D

Total Complexity 171
Dependencies 3
Dependents 1
Total lines 1,027
Lines of code 649
Logical lines of code 474
Comment lines 328
Methods 33
Properties 14

Methods 33

Method Rating Maintainability Complexity Lines of code
__construct()
C
33 24 97
watermarkImage()
A
41 14 56
checkMemoryForData()
A
43 14 45
show()
A
48 12 36
crop()
A
47 11 38
watermarkCreateText()
A
42 10 50
rotateImageAngle()
A
46 10 39
hex2rgb()
S
58 7 13
destruct()
S
63 7 11
cropFromCenter()
S
53 6 24
checkMemoryForImage()
S
55 6 19
resize()
S
53 5 23
flipImage()
S
61 5 11
createReflection()
S
48 3 31
resizePercent()
S
56 3 18
resizeFix()
S
57 3 17
save()
S
63 3 11
correct_gd_unc_path()
S
67 3 7
imageFlipVertical()
S
64 3 9
imagecopyresampled()
S
62 3 10
calcImageSize()
S
61 2 12
calcHeight()
S
65 2 8
calcImageSizePercent()
S
73 2 5
rotateImage()
S
75 2 4
calcWidth()
S
65 2 8
calcPercent()
S
65 2 8
showErrorImage()
S
62 1 11
getCurrentHeight()
S
81 1 3
getCurrentWidth()
S
81 1 3
ImageTTFBBoxDimensions()
S
64 1 8
applyFilter()
S
73 1 5
__destruct()
S
83 1 3
imagecopymerge_alpha()
S
68 1 6