Condition Coverage

blib/lib/Time/Progress.pm
Criterion Covered Total %
condition 16 54 29.6


and 3 conditions

line !l l&&!r l&&r condition
98 0 0 11 $sdelta > 0 and $sdelta < 1
116 0 0 11 $min <= $cur and $cur <= $max
0 0 0 $min >= $cur and $cur >= $max
126 9 0 0 $self->{'smoothing'} and $last_e
9 0 0 $self->{'smoothing'} and $last_e and $last_e < $e
0 0 0 $self->{'smoothing'} and $last_e and $last_e < $e and ($e - $last_e) / $last_e < $sdelta
146 2 9 0 $p > 1 and $s > 0
11 0 0 $p > 1 and $s > 0 and $self->{'min_speed'} eq 'n' || $self->{'min_speed'} > $s
147 2 9 0 $p > 1 and $s > 0
11 0 0 $p > 1 and $s > 0 and $self->{'max_speed'} eq 'a' || $self->{'max_speed'} < $s
170 0 0 0 $len ne "" and $len > 0

or 3 conditions

line l !l&&r !l&&!r condition
40 2 2 0 @_ == 0 or @_ % 2 == 0
78 11 0 0 shift() || $self->{'format'}
83 0 11 0 $self->{'stop'} || time
106 0 0 5 $bl eq "" or $bl < 1
116 11 0 0 $min <= $cur and $cur <= $max or $min >= $cur and $cur >= $max
146 0 0 0 $self->{'min_speed'} eq 'n' || $self->{'min_speed'} > $s
147 0 0 0 $self->{'max_speed'} eq 'a' || $self->{'max_speed'} < $s