| blib/lib/App/dategrep/Iterator.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 19 | 20 | 95.0 |
| line | true | false | branch |
|---|---|---|---|
| 26 | 2 | 1 | unless (defined $max) |
| 44 | 31 | 3 | if ($self->next_line) |
| 48 | 3 | 26 | if ($until >= $self->end and $self->multiline and $self->can_seek) |
| 55 | 17 | 65 | unless ($line) |
| 60 | 59 | 6 | if ($date) { } |
| 4 | 2 | elsif ($self->multiline) { } | |
| 1 | 1 | elsif ($self->skip_unparsable) { } | |
| 65 | 10 | 49 | if ($date >= $self->end) { } |
| 3 | 46 | elsif ($date >= $until) { } | |
| 0 | 46 | elsif ($date < $self->start) { } |