Branch Coverage

blib/lib/SVG/Graph/Kit.pm
Criterion Covered Total %
branch 14 26 53.8


line true false branch
25 3 1 unless exists $args{$arg}
50 1 0 if ($args{'data'})
64 1 0 if (not exists $args{'axis'} or exists $args{'axis'} and $args{'axis'})
74 1 0 unless ref $axis eq "HASH"
92 0 1 if ($data and $self->{'graph_data'}->xmax - $self->{'graph_data'}->xmin > $axis{'xticks'})
96 0 1 if ($data and $self->{'graph_data'}->ymax - $self->{'graph_data'}->ymin > $axis{'yticks'})
102 1 0 unless (defined $axis{'x_absolute_ticks'} or defined $axis{'x_fractional_ticks'})
105 1 0 unless (defined $axis{'y_absolute_ticks'} or defined $axis{'y_fractional_ticks'})
110 1 0 if ($data and not defined $axis{'x_tick_labels'} and not defined $axis{'x_intertick_labels'})
111 0 1 if ($xscale > 1) { }
121 1 0 if ($data and not defined $axis{'y_tick_labels'} and not defined $axis{'y_intertick_labels'})
122 0 1 if ($yscale > 1) { }
149 0 9 if $polar