| line |
true |
false |
branch |
|
21
|
142 |
97 |
ref get_space($default_space->normalize_name($_[0])) ? : |
|
27
|
0 |
6253 |
unless defined $name |
|
28
|
5501 |
752 |
exists $space_obj{$name} ? : |
|
32
|
60 |
2644 |
if ref $name eq "Graphics::Toolkit::Color::Space" and is_space_name($name->name) |
|
35
|
2635 |
9 |
ref $space ? : |
|
41
|
0 |
421 |
if ref $space ne "Graphics::Toolkit::Color::Space" |
|
44
|
0 |
421 |
unless $name |
|
45
|
0 |
421 |
if ref get_space($name) |
|
46
|
14 |
407 |
if ($name eq $default_space_name) { } |
|
50
|
0 |
407 |
unless defined $conversion_parent and $conversion_parent |
|
53
|
0 |
407 |
unless ref $parent_space |
|
56
|
266 |
141 |
unless ($parent_name eq $default_space_name) |
|
66
|
224 |
197 |
if $alias and not ref get_space($alias) |
|
71
|
0 |
3 |
unless defined $name and $name |
|
73
|
2 |
1 |
unless ref $space |
|
74
|
0 |
1 |
if $space->name eq $default_space_name |
|
81
|
0 |
1 |
if $space->name("alias") |
|
88
|
3 |
489 |
unless $default_space->is_number_tuple($tuple) |
|
91
|
1 |
488 |
unless ref $target_space |
|
93
|
0 |
488 |
unless ref $target_space |
|
94
|
0 |
488 |
if ($source_space_name xor $source_tuple) { } |
|
|
64 |
848 |
elsif ($source_space_name and $source_tuple) { } |
|
97
|
0 |
64 |
unless ref $source_space |
|
98
|
0 |
64 |
unless $source_space->is_number_tuple($source_tuple) |
|
110
|
43 |
160 |
if (defined $source_space_name and $next_space_name eq $source_space_name) { } |
|
116
|
0 |
0 |
if not $tuple_is_normal and $normal_in_out[0] |
|
117
|
0 |
160 |
if $tuple_is_normal and not $normal_in_out[0] |
|
120
|
12 |
148 |
if (not $tuple_is_normal and $next_space_name ne $target_space_name) |
|
127
|
8 |
480 |
if not $tuple_is_normal and $want_result_normalized |
|
128
|
6 |
482 |
if $tuple_is_normal and not $want_result_normalized |
|
136
|
2 |
149 |
unless defined $original_space_name |
|
137
|
2 |
147 |
unless ref $original_space |
|
138
|
0 |
147 |
unless $original_space->is_number_tuple($tuple) |
|
141
|
0 |
147 |
if ($source_space_name xor $source_tuple) { } |
|
|
0 |
294 |
elsif ($source_space_name and $source_tuple) { } |
|
144
|
0 |
0 |
unless ref $source_space |
|
145
|
0 |
0 |
unless $source_space->is_number_tuple($source_tuple) |
|
149
|
0 |
147 |
if ($original_space->name eq $default_space_name) |
|
150
|
0 |
0 |
$want_result_normalized ? : |
|
159
|
0 |
193 |
if ($source_space_name and $next_space_name eq $source_space->name) { } |
|
164
|
0 |
0 |
if not $tuple_is_normal and $normal_in_out[0] |
|
165
|
25 |
168 |
if $tuple_is_normal and not $normal_in_out[0] |
|
168
|
0 |
193 |
if (not $tuple_is_normal and $current_space->name ne $default_space_name) |
|
175
|
0 |
147 |
if not $tuple_is_normal and $want_result_normalized |
|
176
|
4 |
143 |
if $tuple_is_normal and not $want_result_normalized |
|
182
|
0 |
135 |
unless defined $color_def |
|
187
|
89 |
1839 |
if (defined $format_name) |
|
192
|
46 |
89 |
unless ref $original_space |
|
197
|
1 |
39 |
unless ref $value_hash eq "HASH" |
|
199
|
0 |
39 |
unless ref $space |
|
200
|
16 |
23 |
defined $space_name && $space_name ? : |
|
204
|
289 |
25 |
unless ref $tuple |
|
205
|
25 |
0 |
wantarray ? : |
|
213
|
0 |
28 |
unless ref $color_space |
|
218
|
17 |
11 |
if (defined $select_axis) |
|
219
|
13 |
4 |
unless ref $select_axis |