Branch Coverage

blib/lib/ProgressMonitor/Stringify/Fields/ETA.pm
Criterion Covered Total %
branch 11 28 39.2


line true false branch
64 1 2 if (not $$self{$ProgressMonitor::Stringify::Fields::ETA::ATTR_start}) { }
73 1 1 if ($state == 3) { }
77 1 0 if $timeSinceStart < 86400
83 0 1 if ($now >= $$self{$ProgressMonitor::Stringify::Fields::ETA::ATTR_lastTime} + $cfg->get_maxUpdateRate)
92 0 0 defined $totalTicks && $totalTicks > 0 ? :
93 0 0 if ($ratio > $cfg->get_waitForRatio)
96 0 0 if $left > 86400
97 0 0 if ($clean or $left != $$self{$ProgressMonitor::Stringify::Fields::ETA::ATTR_lastLeft})
128 0 0 if $timeSinceStart < 86400
180 0 1 unless length $self->get_unknownCharacter == 1
182 0 1 unless ref $seq eq 'ARRAY'
186 0 2 if length $_ != $len
188 0 1 if $self->get_waitForRatio < 0 or $self->get_waitForRatio > 1
189 0 1 if $self->get_waitForRatio < 0