-
Home
-
The Events Calendar
-
6.5.1.3
-
Code
-
Classes
- Tribe__Utils__Color
Total Complexity |
66 |
Dependencies |
1 |
Dependents |
6 |
Total lines |
551 |
Lines of code |
254 |
Logical lines of code |
171 |
Comment lines |
200 |
Methods |
24 |
Properties |
3 |
Methods 24
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
hslToHex() |
A |
49 |
10 |
28 |
hexToHsl() |
A |
44 |
8 |
44 |
_huetorgb() |
S |
57 |
6 |
18 |
getCssGradient() |
S |
55 |
4 |
18 |
rgbToHex() |
S |
63 |
5 |
9 |
__construct() |
S |
61 |
3 |
11 |
get_contrast_ratio() |
S |
55 |
2 |
18 |
_checkHex() |
S |
63 |
3 |
9 |
_lighten() |
S |
64 |
3 |
9 |
_darken() |
S |
64 |
3 |
9 |
isLight() |
S |
66 |
2 |
7 |
isDark() |
S |
65 |
2 |
7 |
complementary() |
S |
71 |
2 |
5 |
get_contrast_color() |
S |
65 |
2 |
9 |
makeGradient() |
S |
64 |
2 |
10 |
mix() |
S |
72 |
1 |
5 |
hexToRgb() |
S |
63 |
1 |
10 |
_mix() |
S |
65 |
1 |
8 |
getRgb() |
S |
82 |
1 |
3 |
darken() |
S |
75 |
1 |
4 |
get_hex_with_hash() |
S |
80 |
1 |
3 |
getHex() |
S |
82 |
1 |
3 |
lighten() |
S |
75 |
1 |
4 |
getHsl() |
S |
82 |
1 |
3 |