Branch Coverage

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


line true false branch
25 7 1 unless exists $args{$arg}
50 1 1 if ($args{'data'})
64 2 0 if (not exists $args{'axis'} or exists $args{'axis'} and $args{'axis'})
74 2 0 unless ref $axis eq 'HASH'
97 0 2 if ($data and $$self{'graph_data'}->xmax - $$self{'graph_data'}->xmin > $axis{'xticks'})
101 0 2 if ($data and $$self{'graph_data'}->ymax - $$self{'graph_data'}->ymin > $axis{'yticks'})
107 2 0 unless (defined $axis{'x_absolute_ticks'} or defined $axis{'x_fractional_ticks'})
110 2 0 unless (defined $axis{'y_absolute_ticks'} or defined $axis{'y_fractional_ticks'})
115 1 0 if ($data and not defined $axis{'x_tick_labels'} and not defined $axis{'x_intertick_labels'})
116 0 1 if ($xscale > 1) { }
124 1 0 if ($data and not defined $axis{'y_tick_labels'} and not defined $axis{'y_intertick_labels'})
125 0 1 if ($yscale > 1) { }
152 0 9 if $polar