ngg_Thumbnail D

Total Complexity 133
Dependencies 2
Dependents 0
Total lines 960
Lines of code 548
Logical lines of code 375
Comment lines 290
Methods 26
Properties 14

Methods 26

Method Rating Maintainability Complexity Lines of code
__construct()
B
36 18 78
show()
A
47 12 40
watermarkImage()
A
47 12 33
checkMemoryForImage()
A
45 11 42
rotateImage()
A
46 11 40
crop()
A
51 8 30
calcImageSize()
S
58 7 16
hex2rgb()
S
58 7 13
destruct()
S
66 7 8
watermarkCreateText()
S
51 5 23
cropFromCenter()
S
52 4 28
flipImage()
S
61 5 11
createReflection()
S
46 3 41
resize()
S
53 2 27
resizePercent()
S
53 2 26
resizeFix()
S
54 2 26
save()
S
64 3 10
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