| line |
true |
false |
branch |
|
15
|
0 |
137 |
unless defined $color_def |
|
16
|
67 |
70 |
unless (ref $color_def) |
|
18
|
41 |
26 |
if (ref $rgb) |
|
24
|
42 |
54 |
unless ref $values |
|
30
|
0 |
476 |
unless ref $color_space |
|
31
|
1 |
475 |
unless $color_space->is_value_tuple($values) |
|
42
|
123 |
352 |
if ($color_space->name ne $RGB->name) |
|
62
|
0 |
323 |
unless ref $color_space |
|
64
|
0 |
323 |
unless ref $values |
|
73
|
0 |
77 |
unless ref $color_space |
|
75
|
0 |
77 |
unless ref $values |
|
85
|
4 |
9 |
unless (ref $new_values) |
|
87
|
1 |
3 |
defined $preselected_space_name ? : |
|
93
|
11 |
16 |
if defined $new_values->[$pos] |
|
102
|
5 |
8 |
unless (ref $new_values) |
|
104
|
2 |
3 |
defined $preselected_space_name ? : |
|
110
|
9 |
15 |
if defined $new_values->[$pos] |
|
117
|
0 |
74 |
if ref $recipe ne "ARRAY" |
|
120
|
0 |
80 |
if ref $ingredient ne "HASH" or not exists $ingredient->{'percent'} |
|
122
|
0 |
80 |
if ref $ingredient ne "HASH" or not exists $ingredient->{'percent'} or not exists $ingredient->{'color'} or ref $ingredient->{'color'} ne __PACKAGE__ |
|
126
|
68 |
6 |
if ($percentage_sum < 100) { } |