Branch Coverage

blib/lib/Excel/Writer/XLSX/Chart/Pie.pm
Criterion Covered Total %
branch 15 20 75.0


line true false branch
66 0 5 unless defined $rotation
68 5 0 if ($rotation >= 0 and $rotation <= 360) { }
141 2 55 if ($second_chart)
144 0 2 if ($second_chart->{'_is_secondary'}) { }
185 1 56 if (defined $legend->{'_delete_series'} and ref $legend->{'_delete_series'} eq 'ARRAY')
191 1 56 if ($position =~ s/^overlay_//)
203 1 56 if $position eq 'none'
204 0 56 unless exists $allowed{$position}
224 1 55 if $overlay
249 1 0 if ($font and exists $font->{'_rotation'})