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
incrementSaturation()
S
62 6 10
incrementLightness()
S
62 6 10
hue2rgb()
S
65 6 8
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
toLuminosity()
S
64 3 8
toGrayscale()
S
67 3 7
fromInt()
S
69 3 6
toRgbHex()
S
69 2 7
getDistanceLuminosityFrom()
S
65 2 10
getMaxContrastColor()
S
67 2 7
getTriad()
S
75 1 4
getTetrad()
S
75 1 4
getAnalog()
S
75 1 4
getSplitComplement()
S
75 1 4
getComplement()
S
80 1 3
fromRgbHex()
S
78 1 3
desaturate()
S
80 1 3
darken()
S
80 1 3
saturate()
S
80 1 3
lighten()
S
80 1 3
toInt()
S
82 1 3
isGrayscale()
S
68 1 7
toHex()
S
78 1 3
toRgbInt()
S
68 1 7
getDistanceRgbFrom()
S
64 1 9
toString()
S
75 1 4
__toString()
S
81 1 3
getDistanceLabFrom()
S
64 1 9