ngg_Thumbnail C

Total Complexity 124
Dependencies 1
Dependents 0
Total lines 932
Lines of code 524
Logical lines of code 362
Comment lines 291
Methods 26
Properties 14

Methods 26

Method Rating Maintainability Complexity Lines of code
__construct()
B
38 17 71
rotateImage()
A
46 11 40
watermarkImage()
A
47 11 33
checkMemoryForImage()
A
46 10 39
show()
A
50 10 31
crop()
A
51 8 30
calcImageSize()
S
58 7 16
hex2rgb()
S
58 7 13
cropFromCenter()
S
52 4 28
flipImage()
S
61 5 11
createReflection()
S
46 3 41
watermarkCreateText()
S
52 4 21
destruct()
S
72 4 5
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