Branch Coverage

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


line true false branch
31 22 22 unless defined $$obj{'fill'}
44 26 19 if ('bar' eq $lstyle) { }
18 1 elsif ('line' eq $lstyle) { }
80 41 2 wantarray ? :
95 35 6 wantarray ? :
109 79 5 if ('Text::Graph::DataSet' eq ref $_[0]) { }
129 110 177 if length $label > $len
132 2 39 if ($right) { }
158 10 33 if ($$parms{'log'}) { }
162 2 8 if defined $$parms{'minval'} and not $$parms{'minval'}
164 6 4 if $$parms{'minval'}
165 2 8 if $$parms{'maxval'}
172 37 6 unless (defined $$parms{'minval'} and defined $$parms{'maxval'})
175 31 6 unless defined $$parms{'minval'}
176 35 2 unless defined $$parms{'maxval'}
179 41 2 unless defined $$parms{'maxlen'}
187 4 39 if ($$parms{'showval'})
211 144 115 if ($_ > $max) { }
16 99 elsif ($_ < $min) { }
223 4 295 $_[0] > $_[2] ? :
2 299 $_[0] < $_[1] ? :
234 266 35 $val > 0 ? :