-
Home
-
Kirki Customizer Framework
-
5.1.0 (latest)
-
Code
-
Classes
- Kirki_Color
Total Complexity |
32 |
Dependencies |
0 |
Dependents |
4 |
Total lines |
319 |
Lines of code |
147 |
Logical lines of code |
100 |
Comment lines |
151 |
Methods |
16 |
Properties |
0 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
rgb_to_hsv() |
A |
48 |
7 |
35 |
get_rgba() |
S |
58 |
5 |
15 |
sanitize_color() |
S |
64 |
4 |
10 |
sanitize_hex() |
S |
70 |
2 |
6 |
get_rgb() |
S |
68 |
2 |
7 |
lumosity_difference() |
S |
61 |
2 |
10 |
adjust_brightness() |
S |
60 |
1 |
11 |
mix_colors() |
S |
60 |
1 |
11 |
color_difference() |
S |
61 |
1 |
11 |
sanitize_rgba() |
S |
78 |
1 |
3 |
rgba2hex() |
S |
78 |
1 |
3 |
get_alpha_from_rgba() |
S |
76 |
1 |
4 |
rgba_to_rgb() |
S |
75 |
1 |
4 |
get_brightness() |
S |
72 |
1 |
4 |
hex_to_hsv() |
S |
74 |
1 |
4 |
brightness_difference() |
S |
63 |
1 |
9 |