Branch Coverage

blib/lib/Text/Chart.pm
Criterion Covered Total %
branch 0 62 0.0


line true false branch
55 0 0 if $_ > @$coldata
56 0 0 unless (&looks_like_number($$coldata[$_ - 1]))
61 0 0 if $is_numeric
74 0 0 if $_ > @$coldata
76 0 0 if (defined $data and not &looks_like_number($data))
81 0 0 if $is_nonnum
188 0 0 unless $args{'data'}
194 0 0 if (defined $dc) { }
195 0 0 ref $dc eq 'ARRAY' ? :
198 0 0 unless defined $col
206 0 0 if (defined $lc) { }
207 0 0 ref $lc eq 'ARRAY' ? :
210 0 0 unless defined $col
213 0 0 if (@label_columns != @data_columns)
220 0 0 unless my $type = $args{'type'}
224 0 0 if ($type eq 'raw') { }
0 0 elsif ($type eq 'bar') { }
0 0 elsif ($type eq 'sparkline') { }
248 0 0 if $max_label_width < $len
258 0 0 if not defined $max[$colidx] or $max[$colidx] < $data
260 0 0 if $max_value_width < $len
266 0 0 $args{'show_data_label'} ? :
0 0 $args{'show_data_value'} ? :
268 0 0 if $bar_width < 1
278 0 0 if $args{'show_data_label'}
282 0 0 if (not $max[$colidx]) { }
289 0 0 if $args{'show_data_value'}
293 0 0 if @data_columns > 1
305 0 0 if ($max != $min) { }
318 0 0 if ($height > $h1 + 1) { }
0 0 elsif ($height > $h1) { }