ngg_Thumbnail D

Total Complexity 134
Dependencies 1
Dependents 0
Total lines 995
Lines of code 588
Logical lines of code 377
Comment lines 286
Methods 26
Properties 16

Methods 26

Method Rating Maintainability Complexity Lines of code
__construct()
B
36 18 79
watermarkImage()
A
43 12 50
show()
A
48 12 36
checkMemoryForImage()
A
44 11 45
rotateImage()
A
45 11 41
crop()
A
48 8 41
calcImageSize()
S
58 7 16
watermarkCreateText()
S
49 6 29
hex2rgb()
S
58 7 13
destruct()
S
63 7 11
cropFromCenter()
S
51 4 31
createReflection()
S
46 3 42
flipImage()
S
61 5 11
save()
S
63 3 11
resize()
S
53 2 26
resizePercent()
S
54 2 25
resizeFix()
S
54 2 25
imageFlipVertical()
S
64 3 9
imagecopyresampled()
S
62 3 10
calcImageSizePercent()
S
73 2 5
showErrorImage()
S
62 1 11
calcPercent()
S
71 1 5
calcHeight()
S
71 1 5
calcWidth()
S
71 1 5
getCurrentHeight()
S
81 1 3
getCurrentWidth()
S
81 1 3