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
33 2966 0 60 ref $name eq "Graphics::Toolkit::Color::Space" and is_space_name($name->name)
51 0 0 481 defined $conversion_parent and $conversion_parent
67 256 0 240 $alias and not ref get_space($alias)
73 0 0 3 defined $name and $name
97 454 0 72 $source_space_name and $source_tuple
114 91 385 49 defined $source_space_name and $next_space->is_name($source_space_name)
119 476 0 0 not $tuple_is_normal and $normal_in_out[0]
120 0 476 0 $tuple_is_normal and not $normal_in_out[0]
123 357 13 106 not $tuple_is_normal and $next_space_name ne $target_space_name
130 513 3 10 not $tuple_is_normal and $want_result_normalized
131 13 495 18 $tuple_is_normal and not $want_result_normalized
144 210 0 0 $source_space_name and $source_tuple
160 372 0 0 @next_options and $next_space_name ne $default_space_name
162 372 0 0 defined $source_space_name and $current_space->is_name($source_space_name)
167 372 0 0 not $tuple_is_normal and $normal_in_out[0]
168 0 297 75 $tuple_is_normal and not $normal_in_out[0]
171 372 0 0 not $tuple_is_normal and $current_space->name ne $default_space_name
178 210 0 0 not $tuple_is_normal and $want_result_normalized
179 0 205 5 $tuple_is_normal and not $want_result_normalized
209 26 0 22 defined $space_name && $space_name

or 2 conditions

line l !l condition
107 505 21 $want_result_normalized //= 0
138 205 9 $want_result_normalized //= 0

or 3 conditions

line l !l&&r !l&&!r condition
32 2246 780 0 shift() || $default_space_name

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
97 72 0 0 454 $source_space_name xor $source_tuple
144 0 0 0 210 $source_space_name xor $source_tuple