Branch Coverage

blib/lib/App/dategrep/Iterator/File.pm
Criterion Covered Total %
branch 29 34 85.2


line true false branch
23 1 27 unless open my $fh, '<', $filename
32 2 24 unless (defined $min)
40 1 23 if ($date >= $self->end)
54 2 0 if (defined $tell_beg)
75 5 29 if (defined $min_byte)
81 0 9 unless $fh->seek($mid * $blksize, 0)
82 9 0 if $mid
85 3 9 unless ($line)
90 3 6 unless ($epoch)
91 3 0 if $multiline or $self->skip_unparsable
95 2 4 $epoch < $key ? :
105 0 34 unless $fh->seek($min, 0)
106 3 31 if $min
109 5 61 unless defined(my $line = $fh->getline)
111 9 52 unless ($epoch)
112 8 1 if $multiline or $self->skip_unparsable
115 28 24 if ($epoch >= $key)