Branch Coverage

blib/lib/Text/Sparkline.pm
Criterion Covered Total %
branch 17 18 94.4


line true false branch
52 54 8 if (defined $val) { }
54 8 46 if ($height == $nbars)
77 19 0 if (defined $val) { }
78 9 10 if ($span) { }
80 1 8 if ($height == $nbars)
105 73 8 if (&Scalar::Util::looks_like_number($val) and $val >= 0) { }
107 9 64 if (not defined $min) { }
111 1 63 if $val < $min
112 51 13 if $val > $max