Condition Coverage

blib/lib/Progress/Any.pm
Criterion Covered Total %
condition 8 53 15.0


and 3 conditions

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'}

or 2 conditions

line l !l condition
311 0 0 $args{'state'} // "started"
396 0 0 delete $args{'state'} // "started"
400 0 0 delete $args{'priority'} // "normal"
417 0 0 $ENV{'PROGRESS'} // 1
509 0 0 $args{'message'} // ""
512 0 0 $width //= 3
515 0 0 $prec //= 0
522 0 0 $prec //= 0
528 0 0 $prec //= 0
537 0 0 $width //= -8
546 0 0 $width //= -8
559 0 0 $width //= -16
587 0 0 $sconv //= "s"

or 3 conditions

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
422 0 0 0 $force_update or $self->_should_update_output($output, $now, $priority)
589 0 0 0 $fmt //= join("", grep({defined $_;} "%", $width, $dot, $prec, $sconv))