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