Branch Coverage

blib/lib/SVG/Graph/Kit.pm
Criterion Covered Total %
branch 15 26 57.6


line true false branch
24 7 1 unless exists $args{$arg}
49 1 1 if ($args{'data'})
63 2 0 if (not exists $args{'axis'} or exists $args{'axis'} and $args{'axis'})
73 2 0 unless ref $axis eq 'HASH'
96 0 2 if ($data and $self->{'graph_data'}->xmax - $self->{'graph_data'}->xmin > $axis{'xticks'})
100 0 2 if ($data and $self->{'graph_data'}->ymax - $self->{'graph_data'}->ymin > $axis{'yticks'})
106 2 0 unless (defined $axis{'x_absolute_ticks'} or defined $axis{'x_fractional_ticks'})
109 2 0 unless (defined $axis{'y_absolute_ticks'} or defined $axis{'y_fractional_ticks'})
114 1 0 if ($data and not defined $axis{'x_tick_labels'} and not defined $axis{'x_intertick_labels'})
115 0 1 if ($xscale > 1) { }
123 1 0 if ($data and not defined $axis{'y_tick_labels'} and not defined $axis{'y_intertick_labels'})
124 0 1 if ($yscale > 1) { }
151 0 9 if $polar