Branch Coverage

blib/lib/Chart/Bars.pm
Criterion Covered Total %
branch 25 34 73.5


line true false branch
52 2 15 if ($$self{'imagemap'} =~ /^true$/i)
61 17 0 $$self{'num_datapoints'} > 0 ? :
63 17 0 $$self{'max_val'} - $$self{'min_val'} > 0 ? :
64 16 1 if ($$self{'spaced_bars'} =~ /^true$/i) { }
66 16 0 $$self{'num_datasets'} + 2 > 0 ? :
69 1 0 $$self{'num_datasets'} > 0 ? :
75 12 5 if ($$self{'min_val'} >= 0) { }
0 5 elsif ($$self{'max_val'} <= 0) { }
100 20362 44 if (defined $$data[$i][$j]) { }
102 20356 6 if ($$self{'spaced_bars'} =~ /^true$/i) { }
113 0 20362 if ($$data[$i][$j] > $$self{'max_val'}) { }
0 20362 elsif ($$data[$i][$j] < $$self{'min_val'}) { }
128 10355 10007 if ($$data[$i][$j] > 0) { }
130 18 10337 if ($$self{'imagemap'} =~ /^true$/i)
136 0 10007 if ($$self{'imagemap'} =~ /^true$/i)
142 20362 0 if (not $cut) { }
151 3 41 if ($$self{'imagemap'} =~ /^true$/i)