Branch Coverage

blib/lib/Term/StatusBar.pm
Criterion Covered Total %
branch 0 88 0.0


line true false branch
50 0 0 unless ($$self{'colorTerm'})
55 0 0 if $params{'totalItems'}
63 0 0 if ($$self{'startPos'} eq 'bottom')
64 0 0 $$self{'subText'} ? :
67 0 0 if ($$self{'scale'} + $$self{'barStart'} + 5 >= $$self{'maxCol'})
71 0 0 if ($$self{'precision'} > 4)
73 0 0 if ($$self{'showTime'})
76 0 0 if (not $@) { }
77 0 0 if ($$self{'startPos'} ne 'bottom')
96 0 0 $$self{'reverse'} ? :
109 0 0 if (exists $$self{$method})
110 0 0 if (defined $val) { }
125 0 0 unless defined $newSubText
127 0 0 if ($newSubText ne $$self{'subText'}) { }
146 0 0 unless $num
147 0 0 unless $$self{'count'}
149 0 0 if ($$self{'totalItems'} > $$self{'baseScale'})
160 0 0 if not defined $text or $text eq ''
162 0 0 unless $$self{'prevSubText'}
178 0 0 $$self{'reverse'} ? :
191 0 0 unless $$self{'showTime'}
194 0 0 if (not $$self{'reverse'} and $$self{'lastTime'}) { }
200 0 0 if ($tmp - $$self{'itemAccum'} > 0) { }
208 0 0 if ($tp >= 3600)
212 0 0 if ($tp >= 60)
216 0 0 if ($tp >= 1)
242 0 0 unless $$self{'start'}
246 0 0 if (not $items) { }
249 0 0 if (--$$self{'curItems'} % ($$self{'itemsPP'} * int($$self{'updateInc'})))
259 0 0 if ($$self{'curItems'} % ($$self{'avgItems'} * int($$self{'updateInc'})))
265 0 0 if $$self{'reverse'}
274 0 0 if ($$self{'totalItems'} - $$self{'count'} < $$self{'itemsPP'})
276 0 0 $$self{'reverse'} ? :
283 0 0 if ($percent != 0) { }
310 0 0 if ($newDefaults)
313 0 0 if $k eq 'reset'
340 0 0 unless $$self{'subText'} and $$self{'subTextChange'}
343 0 0 if ($pos + $$self{'subTextLength'} > $$self{'scale'} + $$self{'barStart'})
349 0 0 if ($$self{'subTextAlign'} eq 'center') { }
0 0 elsif ($$self{'subTextAlign'} eq 'right') { }
360 0 0 if $pos < 0
366 0 0 if ($subTemp)
382 0 0 if ($@) { }
385 0 0 unless -x "$path/tput"