-
Home
-
Travelpayouts
-
1.0.11
-
Code
-
Classes
- Redux_Colors
| Total Complexity |
67 |
| Dependencies |
0 |
| Dependents |
1 |
| Total lines |
630 |
| Lines of code |
382 |
| Logical lines of code |
166 |
| Comment lines |
167 |
| Methods |
16 |
| Properties |
0 |
Methods 16
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| sanitize_hex() |
B |
26 |
9 |
170 |
| sanitize_color() |
A |
52 |
11 |
23 |
| rgba2hex() |
A |
50 |
9 |
26 |
| rgb_to_hsv() |
A |
48 |
7 |
35 |
| sanitize_rgba() |
S |
56 |
8 |
15 |
| get_alpha_from_rgba() |
S |
54 |
6 |
21 |
| get_rgba() |
S |
59 |
5 |
13 |
| get_rgb() |
S |
64 |
2 |
9 |
| rgba_to_rgb() |
S |
63 |
2 |
10 |
| lumosity_difference() |
S |
61 |
2 |
10 |
| adjust_brightness() |
S |
60 |
1 |
11 |
| mix_colors() |
S |
60 |
1 |
11 |
| color_difference() |
S |
61 |
1 |
11 |
| get_brightness() |
S |
72 |
1 |
4 |
| hex_to_hsv() |
S |
74 |
1 |
4 |
| brightness_difference() |
S |
63 |
1 |
9 |