-
Home
-
Gmedia Photo Gallery
-
1.19.7
-
Code
-
Classes
- gmColor
Total Complexity |
62 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
473 |
Lines of code |
226 |
Logical lines of code |
155 |
Comment lines |
206 |
Methods |
21 |
Properties |
3 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
hslToHex() |
A |
48 |
10 |
28 |
hexToHsl() |
A |
45 |
8 |
44 |
_huetorgb() |
S |
57 |
6 |
18 |
_darken() |
S |
59 |
5 |
13 |
_lighten() |
S |
59 |
5 |
13 |
getCssGradient() |
S |
55 |
4 |
18 |
rgbToHex() |
S |
62 |
5 |
9 |
makeGradient() |
S |
64 |
2 |
10 |
isLight() |
S |
66 |
2 |
7 |
isDark() |
S |
65 |
2 |
7 |
complementary() |
S |
71 |
2 |
5 |
_checkHex() |
S |
67 |
2 |
7 |
__construct() |
S |
68 |
1 |
7 |
hexToRgb() |
S |
63 |
1 |
10 |
darken() |
S |
75 |
1 |
4 |
lighten() |
S |
75 |
1 |
4 |
mix() |
S |
72 |
1 |
5 |
getHsl() |
S |
82 |
1 |
3 |
getHex() |
S |
82 |
1 |
3 |
getRgb() |
S |
82 |
1 |
3 |
_mix() |
S |
65 |
1 |
8 |