Branch Coverage

blib/lib/Chart/Points.pm
Criterion Covered Total %
branch 13 28 46.4


line true false branch
52 0 3 if ($$self{'imagemap'} =~ /^true$/i)
60 3 0 $$self{'num_datapoints'} > 0 ? :
62 0 3 if $diff == 0
66 0 3 if ($$self{'xy_plot'} =~ /^true$/i)
68 0 0 if $diff == 0
71 0 0 if ($$self{'x_min_val'} <= 0 and $$self{'x_max_val'} >= 0) { }
0 0 elsif ($$self{'x_min_val'} > 0 or $$self{'x_max_val'} < 0) { }
83 3 0 if ($$self{'xy_plot'} =~ /^false$/i) { }
89 2 1 if ($$self{'min_val'} >= 0) { }
0 1 elsif ($$self{'max_val'} <= 0) { }
115 3832 14 if (defined $$data[$i][$j])
116 0 3832 if ($$self{'xy_plot'} =~ /^true$/i) { }
128 3832 0 if ($$data[$i][$j] <= $$self{'max_val'} and $$data[$i][$j] >= $$self{'min_val'})
133 0 3832 if ($$self{'imagemap'} =~ /^true$/i)