Branch Coverage

blib/lib/ProgressMonitor/Stringify/Fields/Bar.pm
Criterion Covered Total %
branch 18 32 56.2


line true false branch
43 1 0 if $minWidth > $width
44 0 1 if $width > $cfg->get_maxWidth
85 12 11 if (defined $totalTicks) { }
89 12 0 defined $totalTicks && $totalTicks > 0 ? :
96 0 12 if (not $clean and $ratio < 1 and $filler eq $$self{$ProgressMonitor::Stringify::Fields::Bar::ATTR_lastFiller})
100 0 0 $lf == 0 ? :
106 1 10 if (not $$self{$ProgressMonitor::Stringify::Fields::Bar::ATTR_inited}) { }
122 3 27 if ++$begin >= $iw
168 0 1 if length $self->get_leftWall < 0
169 0 1 if length $self->get_rightWall < 0
170 0 1 if length $self->get_emptyCharacter != 1
171 0 1 if length $self->get_fillCharacter != 1
172 0 1 if $self->get_idleLeftSpace < 0
173 0 1 if $self->get_idleRightSpace < 0
175 0 1 unless ref $seq eq 'ARRAY'
178 0 4 if length $_ != 1