Branch Coverage

blib/lib/Text/Graph.pm
Criterion Covered Total %
branch 44 44 100.0


line true false branch
78 22 22 unless defined $$obj{'fill'}
91 26 19 if ('bar' eq $lstyle) { }
18 1 elsif ('line' eq $lstyle) { }
112 41 2 wantarray ? :
127 35 6 wantarray ? :
141 79 5 if ('Text::Graph::DataSet' eq ref $_[0]) { }
161 110 177 if length $label > $len
164 2 39 if ($right) { }
190 10 33 if ($$parms{'log'}) { }
194 2 8 if defined $$parms{'minval'} and not $$parms{'minval'}
196 6 4 if $$parms{'minval'}
197 2 8 if $$parms{'maxval'}
204 37 6 unless (defined $$parms{'minval'} and defined $$parms{'maxval'})
207 31 6 unless defined $$parms{'minval'}
208 35 2 unless defined $$parms{'maxval'}
211 41 2 unless defined $$parms{'maxlen'}
219 4 39 if ($$parms{'showval'})
243 144 115 if ($_ > $max) { }
16 99 elsif ($_ < $min) { }
255 4 295 $_[0] > $_[2] ? :
2 299 $_[0] < $_[1] ? :
266 266 35 $val > 0 ? :