C_NggLegacy_Thumbnail D

Total Complexity 159
Dependencies 2
Dependents 2
Total lines 1,006
Lines of code 626
Logical lines of code 453
Comment lines 330
Methods 33
Properties 14

Methods 33

Method Rating Maintainability Complexity Lines of code
__construct()
B
34 22 90
watermarkImage()
A
41 13 56
checkMemoryForData()
A
44 13 42
crop()
A
47 11 38
rotateImageAngle()
A
46 10 39
show()
A
51 10 28
watermarkCreateText()
A
43 8 46
hex2rgb()
S
57 7 15
cropFromCenter()
S
53 6 24
resize()
S
53 5 23
checkMemoryForImage()
S
57 5 16
flipImage()
S
61 5 11
createReflection()
S
48 3 31
destruct()
S
65 4 11
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
calcWidth()
S
65 2 8
rotateImage()
S
75 2 4
calcHeight()
S
65 2 8
calcImageSizePercent()
S
73 2 5
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