Branch Coverage

blib/lib/Chart/LinesPoints.pm
Criterion Covered Total %
branch 30 56 53.6


line true false branch
53 0 8 if ($$self{'imagemap'} =~ /^true$/i)
61 8 0 $$self{'num_datapoints'} > 0 ? :
63 0 8 if $diff == 0
67 1 7 if ($$self{'xy_plot'} =~ /^true$/i) { }
73 7 1 if ($$self{'min_val'} >= 0) { }
1 0 elsif ($$self{'max_val'} <= 0) { }
90 1 7 if ($$self{'xy_plot'} =~ /^true$/i)
92 0 1 if $diff == 0
95 1 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) { }
116 165 18 if (defined $$data[$i][$j] and defined $$data[$i][$j - 1])
117 60 105 if ($$self{'xy_plot'} =~ /^true$/i) { }
129 0 165 if ($$data[$i][$j] > $$self{'max_val'} or $$data[$i][$j - 1] > $$self{'max_val'})
133 0 165 if ($$self{'max_val'} <= 0 and $$data[$i][$j] > $$self{'max_val'} || $$data[$i][$j - 1] > $$self{'max_val'})
137 0 165 if ($$data[$i][$j] < $$self{'min_val'} or $$data[$i][$j - 1] < $$self{'min_val'})
153 183 18 if (defined $$data[$i][$j]) { }
154 62 121 if ($$self{'xy_plot'} =~ /^true$/i) { }
169 0 183 if ($$self{'imagemap'} =~ /^true$/i)
173 0 18 if ($$self{'imagemap'} =~ /^true$/i)
191 0 8 if ($repair_top_flag)
211 0 0 if ($$self{'title'})
216 0 0 if ($$self{'sub_title'})
221 0 0 if ($$self{'legend'} =~ /^top$/i)
232 0 8 if ($repair_bottom_flag)
254 0 0 if ($$self{'legend'} =~ /^bottom$/i)
259 0 0 if ($$self{'x_label'})
295 18 28 if ($type eq 'line') { }
28 0 elsif ($type eq 'point') { }