| blib/lib/Time/Progress.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 36 | 27.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 88 | 0 | 0 | 11 | $sdelta > 0 and $sdelta < 1 |
| 104 | 0 | 0 | 11 | $min <= $cur and $cur <= $max |
| 0 | 0 | 0 | $min >= $cur and $cur >= $max | |
| 114 | 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 | |
| 153 | 0 | 0 | 0 | $len ne '' and $len > 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 32 | 2 | 2 | 0 | @_ == 0 or @_ % 2 == 0 |
| 68 | 11 | 0 | 0 | shift() || $self->{'format'} |
| 73 | 0 | 11 | 0 | $self->{'stop'} || time |
| 96 | 0 | 0 | 5 | $bl eq '' or $bl < 1 |
| 104 | 11 | 0 | 0 | $min <= $cur and $cur <= $max or $min >= $cur and $cur >= $max |