Branch Coverage

blib/lib/SVG/Sparkline/Whisker.pm
Criterion Covered Total %
branch 32 34 94.1


line true false branch
24 1 35 unless exists $$args{'values'}
25 11 24 if ('ARRAY' eq ref $$args{'values'}) { }
23 1 elsif (not ref $$args{'values'}) { }
33 1 22 if $valstr =~ /1/
42 2 31 unless @values
49 4 27 if ($$args{'width'}) { }
61 0 31 if $space =~ s/\.9\d$//
72 122 57 if ($v) { }
86 9 22 if (exists $$args{'mark'})
114 1 8 unless $args{'values'}[$index]
125 1 10 if $index eq 'first'
126 1 9 if $index eq 'last'
127 7 2 unless $index =~ /\D/
136 99 114 if $val =~ /\d/
137 42 1 $val eq '-' ? :
71 43 $val eq '+' ? :
164 47 0 $x || $y ? :