Condition Coverage

lib/Graphics/Toolkit/Color/Space/Hub.pm
Criterion Covered Total %
condition 43 75 57.3


and 3 conditions

line !l l&&!r l&&r condition
32 2644 0 60 ref $name eq "Graphics::Toolkit::Color::Space" and is_space_name($name->name)
50 0 0 407 defined $conversion_parent and $conversion_parent
66 197 0 224 $alias and not ref get_space($alias)
71 0 0 3 defined $name and $name
94 424 0 64 $source_space_name and $source_tuple
110 49 111 43 defined $source_space_name and $next_space_name eq $source_space_name
116 160 0 0 not $tuple_is_normal and $normal_in_out[0]
117 0 160 0 $tuple_is_normal and not $normal_in_out[0]
120 137 11 12 not $tuple_is_normal and $next_space_name ne $target_space_name
127 477 3 8 not $tuple_is_normal and $want_result_normalized
128 11 471 6 $tuple_is_normal and not $want_result_normalized
141 147 0 0 $source_space_name and $source_tuple
157 193 0 0 @next_options and $next_space_name ne $default_space_name
159 193 0 0 $source_space_name and $next_space_name eq $source_space->name
164 193 0 0 not $tuple_is_normal and $normal_in_out[0]
165 0 168 25 $tuple_is_normal and not $normal_in_out[0]
168 193 0 0 not $tuple_is_normal and $current_space->name ne $default_space_name
175 147 0 0 not $tuple_is_normal and $want_result_normalized
176 0 143 4 $tuple_is_normal and not $want_result_normalized
200 23 0 16 defined $space_name && $space_name

or 2 conditions

line l !l condition
104 479 9 $want_result_normalized //= 0
135 143 8 $want_result_normalized //= 0

or 3 conditions

line l !l&&r !l&&!r condition
31 2025 679 0 shift() || $default_space_name

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
94 64 0 0 424 $source_space_name xor $source_tuple
141 0 0 0 147 $source_space_name xor $source_tuple