Jetpack_Color D

Total Complexity 136
Dependencies 1
Dependents 1
Total lines 756
Lines of code 459
Logical lines of code 317
Comment lines 180
Methods 41
Properties 1

Methods 41

Method Rating Maintainability Complexity Lines of code
toCSS()
A
49 10 30
__construct()
A
51 10 26
getReadableContrastingColor()
A
52 9 24
toHsl()
S
49 7 30
toHsvFloat()
S
47 6 39
toHsvInt()
S
50 6 29
getGrayscaleContrastingColor()
S
57 6 17
fromRgbInt()
S
62 7 10
fromHex()
S
55 5 19
hue2rgb()
S
65 6 8
incrementLightness()
S
62 6 10
incrementSaturation()
S
62 6 10
toXyz()
S
52 4 24
getClosestMatch()
S
59 4 15
incrementHue()
S
63 5 9
toLabCie()
S
54 3 21
fromHsl()
S
58 3 14
fromInt()
S
69 3 6
toLuminosity()
S
64 3 8
toGrayscale()
S
67 3 7
toRgbHex()
S
69 2 7
getDistanceLuminosityFrom()
S
65 2 10
getMaxContrastColor()
S
67 2 7
fromRgbHex()
S
78 1 3
toHex()
S
78 1 3
toRgbInt()
S
68 1 7
toInt()
S
82 1 3
__toString()
S
81 1 3
toString()
S
75 1 4
getDistanceRgbFrom()
S
64 1 9
getDistanceLabFrom()
S
64 1 9
isGrayscale()
S
68 1 7
darken()
S
80 1 3
lighten()
S
80 1 3
saturate()
S
80 1 3
desaturate()
S
80 1 3
getComplement()
S
80 1 3
getSplitComplement()
S
75 1 4
getAnalog()
S
75 1 4
getTetrad()
S
75 1 4
getTriad()
S
75 1 4