Total Complexity | 133 |
Dependencies | 1 |
Dependents | 3 |
Total lines | 881 |
Lines of code | 470 |
Logical lines of code | 307 |
Comment lines | 312 |
Methods | 41 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
__construct() | 51 | 10 | 27 | |
toCSS() | 51 | 10 | 24 | |
getReadableContrastingColor() | 52 | 9 | 24 | |
toHsl() | 48 | 7 | 32 | |
toHsvFloat() | 47 | 6 | 39 | |
toHsvInt() | 50 | 6 | 29 | |
fromRgbInt() | 59 | 7 | 13 | |
hue2rgb() | 57 | 6 | 18 | |
getGrayscaleContrastingColor() | 57 | 6 | 17 | |
incrementSaturation() | 59 | 6 | 14 | |
incrementLightness() | 59 | 6 | 14 | |
incrementHue() | 61 | 5 | 11 | |
toXyz() | 52 | 4 | 24 | |
getClosestMatch() | 59 | 4 | 15 | |
toLabCie() | 54 | 3 | 21 | |
fromHsl() | 56 | 3 | 17 | |
toLuminosity() | 64 | 3 | 8 | |
toGrayscale() | 67 | 3 | 7 | |
fromInt() | 68 | 3 | 7 | |
getMaxContrastColor() | 67 | 2 | 7 | |
getDistanceLuminosityFrom() | 66 | 2 | 9 | |
toRgbHex() | 69 | 2 | 7 | |
fromHex() | 67 | 2 | 7 | |
getSplitComplement() | 75 | 1 | 4 | |
getComplement() | 80 | 1 | 3 | |
getAnalog() | 75 | 1 | 4 | |
getTetrad() | 75 | 1 | 4 | |
getTriad() | 75 | 1 | 4 | |
fromRgbHex() | 78 | 1 | 3 | |
desaturate() | 80 | 1 | 3 | |
isGrayscale() | 68 | 1 | 7 | |
saturate() | 80 | 1 | 3 | |
lighten() | 80 | 1 | 3 | |
darken() | 80 | 1 | 3 | |
toRgbInt() | 68 | 1 | 7 | |
toHex() | 79 | 1 | 3 | |
getDistanceRgbFrom() | 64 | 1 | 9 | |
toString() | 75 | 1 | 4 | |
__toString() | 81 | 1 | 3 | |
toInt() | 82 | 1 | 3 | |
getDistanceLabFrom() | 64 | 1 | 9 |