Branch Coverage

blib/lib/Excel/Writer/XLSX/Chart/Bar.pm
Criterion Covered Total %
branch 17 20 85.0


line true false branch
49 1 67 if ($self->{'_subtype'} eq 'percent_stacked')
82 0 1 unless ($chart->{'_is_secondary'})
102 65 65 if ($args{'primary_axes'})
109 65 0 if ($self->{'_y2_axis'}{'_position'} eq 'r')
131 65 65 if ($args{'primary_axes'}) { }
138 63 67 unless scalar @series
141 1 66 if $subtype eq 'percent_stacked'
144 2 65 if ($self->{'_subtype'} =~ /stacked/)
145 2 0 unless (defined $self->{'_series_overlap_1'})
161 65 2 if ($args{'primary_axes'}) { }