blib/lib/Progress/Any.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 53 | 15.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
276 | 1 | 5 | 0 | defined $val and $self->{'pos'} > $val |
287 | 0 | 1 | 2 | defined $val and $val >= 0 |
290 | 0 | 2 | 0 | defined $self->{'target'} and $val > $self->{'target'} |
301 | 0 | 0 | 0 | defined $val and $val >= 0 |
340 | 0 | 0 | 0 | defined $self->{'target'} and $self->{'pos'} < $self->{'target'} |
line | l | !l | condition |
---|---|---|---|
311 | 0 | 0 | $args{'state'} // 'started' |
396 | 0 | 0 | delete $args{'state'} // 'started' |
400 | 0 | 0 | delete $args{'priority'} // 'normal' |
409 | 0 | 0 | $ENV{'PROGRESS'} // 1 |
500 | 0 | 0 | $args{'message'} // '' |
503 | 0 | 0 | $width //= 3 |
506 | 0 | 0 | $prec //= 0 |
513 | 0 | 0 | $prec //= 0 |
519 | 0 | 0 | $prec //= 0 |
528 | 0 | 0 | $width //= -8 |
537 | 0 | 0 | $width //= -8 |
550 | 0 | 0 | $width //= -16 |
578 | 0 | 0 | $sconv //= 's' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
273 | 1 | 5 | 1 | not defined $val or $val >= 0 |
395 | 0 | 0 | 0 | delete $args{'pos'} // $self->{'pos'} + 1 |
414 | 0 | 0 | 0 | $force_update or $self->_should_update_output($output, $now, $priority) |
580 | 0 | 0 | 0 | $fmt //= join('', grep({defined $_;} '%', $width, $dot, $prec, $sconv)) |