Branch Coverage

lib/Graphics/Toolkit/Color/SetCalculator.pm
Criterion Covered Total %
branch 29 36 80.5


line true false branch
12 0 14 unless ref $color_space eq "Graphics::Toolkit::Color::Space"
13 0 14 unless $color_space->family eq "HSL"
35 4 10 if $tilt > 0
44 3 7 $hue_position <= 0.5 ? :
47 9 5 if $result_count == 1 or not $result_count % 2
56 9 1 $hue_position <= 0.5 ? :
59 10 4 if $result_count > 1
67 0 3 if $steps == 1
68 0 3 if $steps == 2
79 1 3 unless $next_color->is_in_gamut($color_space->name)
91 1 14 if $tilt < 0
100 15 0 if $steps > 1
114 8 8 if (ref $cluster_radius) { }
134 7 9 if ($layer_nr % 2) { }
137 0 7 if $grid_row_count < 0
140 2 5 if sqrt(($contour_cursor + "0.5") ** 2 + ($x_index + "0.5") ** 2) > $radius_in_colors
163 2 0 if sqrt $contour_cursor ** 2 + $x_index ** 2 > $radius_in_colors
177 1 8 if ($layer_nr > 0)