| line |
true |
false |
branch |
|
21
|
144 |
2 |
ref get_space($default_space->normalize_name($_[0])) ? : |
|
27
|
2 |
7548 |
unless defined $name |
|
28
|
7533 |
15 |
if ref $default_space |
|
29
|
6801 |
747 |
exists $space_obj{$name} ? : |
|
33
|
60 |
2966 |
if ref $name eq "Graphics::Toolkit::Color::Space" and is_space_name($name->name) |
|
36
|
2958 |
8 |
ref $space ? : |
|
42
|
0 |
496 |
if ref $space ne "Graphics::Toolkit::Color::Space" |
|
45
|
0 |
496 |
unless $name |
|
46
|
0 |
496 |
if ref get_space($name) |
|
47
|
15 |
481 |
if ($name eq $default_space_name) { } |
|
51
|
0 |
481 |
unless defined $conversion_parent and $conversion_parent |
|
54
|
0 |
481 |
unless ref $parent_space |
|
57
|
330 |
151 |
unless ($parent_name eq $default_space_name) |
|
67
|
240 |
256 |
if $alias and not ref get_space($alias) |
|
68
|
465 |
31 |
if $space->family |
|
73
|
0 |
3 |
unless defined $name and $name |
|
75
|
2 |
1 |
unless ref $space |
|
76
|
0 |
1 |
if $space->name eq $default_space_name |
|
83
|
0 |
1 |
if $space->family |
|
84
|
0 |
1 |
if $space->name("alias") |
|
91
|
3 |
527 |
unless $default_space->is_number_tuple($tuple) |
|
94
|
1 |
526 |
unless ref $target_space |
|
96
|
0 |
526 |
unless ref $target_space |
|
97
|
0 |
526 |
if ($source_space_name xor $source_tuple) { } |
|
|
72 |
908 |
elsif ($source_space_name and $source_tuple) { } |
|
100
|
0 |
72 |
unless ref $source_space |
|
101
|
0 |
72 |
unless $source_space->is_number_tuple($source_tuple) |
|
114
|
49 |
476 |
if (defined $source_space_name and $next_space->is_name($source_space_name)) { } |
|
119
|
0 |
0 |
if not $tuple_is_normal and $normal_in_out[0] |
|
120
|
0 |
476 |
if $tuple_is_normal and not $normal_in_out[0] |
|
123
|
106 |
370 |
if (not $tuple_is_normal and $next_space_name ne $target_space_name) |
|
130
|
10 |
516 |
if not $tuple_is_normal and $want_result_normalized |
|
131
|
18 |
508 |
if $tuple_is_normal and not $want_result_normalized |
|
139
|
2 |
212 |
unless defined $original_space_name |
|
140
|
2 |
210 |
unless ref $original_space |
|
141
|
0 |
210 |
unless $original_space->is_number_tuple($tuple) |
|
144
|
0 |
210 |
if ($source_space_name xor $source_tuple) { } |
|
|
0 |
420 |
elsif ($source_space_name and $source_tuple) { } |
|
147
|
0 |
0 |
unless ref $source_space |
|
148
|
0 |
0 |
unless $source_space->is_number_tuple($source_tuple) |
|
152
|
0 |
210 |
if ($original_space->name eq $default_space_name) |
|
153
|
0 |
0 |
$want_result_normalized ? : |
|
162
|
0 |
372 |
if (defined $source_space_name and $current_space->is_name($source_space_name)) { } |
|
167
|
0 |
0 |
if not $tuple_is_normal and $normal_in_out[0] |
|
168
|
75 |
297 |
if $tuple_is_normal and not $normal_in_out[0] |
|
171
|
0 |
372 |
if (not $tuple_is_normal and $current_space->name ne $default_space_name) |
|
178
|
0 |
210 |
if not $tuple_is_normal and $want_result_normalized |
|
179
|
5 |
205 |
if $tuple_is_normal and not $want_result_normalized |
|
185
|
0 |
2264 |
unless defined $color_def |
|
188
|
0 |
2264 |
unless ref $color_space |
|
190
|
2175 |
89 |
unless defined $format_name |
|
195
|
0 |
142 |
unless defined $color_def |
|
198
|
89 |
2175 |
if @tuple_space_format > 1 |
|
200
|
29 |
24 |
if ref $color_def eq "ARRAY" |
|
201
|
9 |
15 |
if ref $color_def eq "HASH" |
|
206
|
1 |
48 |
unless ref $value_hash eq "HASH" |
|
208
|
0 |
48 |
unless ref $space |
|
209
|
22 |
26 |
defined $space_name && $space_name ? : |
|
213
|
346 |
33 |
unless ref $tuple |
|
214
|
33 |
0 |
wantarray ? : |
|
222
|
0 |
28 |
unless ref $color_space |
|
227
|
17 |
11 |
if (defined $select_axis) |
|
228
|
13 |
4 |
unless ref $select_axis |