Branch Coverage

blib/lib/Chart/Lines.pm
Criterion Covered Total %
branch 34 46 73.9


line true false branch
53 1 10 if ($$self{'imagemap'} =~ /^true$/i)
61 11 0 $$self{'num_datapoints'} > 0 ? :
65 1 10 if ($$self{'xy_plot'} =~ /^true$/i)
68 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) { }
80 1 10 if ($$self{'xy_plot'} =~ /^true$/i) { }
86 4 7 if ($$self{'min_val'} >= 0) { }
0 7 elsif ($$self{'max_val'} <= 0) { }
112 1665 27 if (defined $$data[$i][$j] and defined $$data[$i][$j - 1]) { }
113 638 1027 if ($$self{'xy_plot'} =~ /^true$/i) { }
128 51 1614 if ($$data[$i][$j] > $$self{'max_val'} or $$data[$i][$j - 1] > $$self{'max_val'})
132 0 1665 if ($$self{'max_val'} <= 0 and $$data[$i][$j] > $$self{'max_val'} || $$data[$i][$j - 1] > $$self{'max_val'})
136 52 1613 if ($$data[$i][$j] < $$self{'min_val'} or $$data[$i][$j - 1] < $$self{'min_val'})
141 5 1660 if ($$self{'imagemap'} =~ /^true$/i)
146 1 26 if ($$self{'imagemap'} =~ /^true$/i)
164 1 10 if ($repair_top_flag)
184 1 0 if ($$self{'title'})
189 0 1 if ($$self{'sub_title'})
194 0 1 if ($$self{'legend'} =~ /^top$/i)
205 1 10 if ($repair_bottom_flag)
227 0 1 if ($$self{'legend'} =~ /^bottom$/i)
232 1 0 if ($$self{'x_label'})
243 0 1 if ($$self{'xy_plot'} =~ /^true$/i) { }