Branch Coverage

blib/lib/Geo/CEP.pm
Criterion Covered Total %
branch 10 38 26.3


line true false branch
80 0 1 unless defined $data
84 0 1 unless defined $index
87 0 1 unless my $size = $index->sysseek(0, 2)
90 0 1 if not $size or $size % $idx_len
101 1 1 if (grep {$_ eq 'memoize';} @args)
113 0 0 unless $self->index->sysseek($n * $idx_len, 0)
116 0 0 unless $self->index->sysread($buf, $idx_len)
120 0 0 defined $want_offset ? :
131 0 0 if $self->_get_idx($lo) > $val or $self->_get_idx($hi) < $val
137 0 0 if ($val < $cep) { }
0 0 elsif ($val > $cep) { }
146 0 0 if $cep > $val
157 0 0 unless $self->data->seek($offset, 0)
162 0 0 if 'HASH' ne ref $row or not defined $$row{'state'}
165 0 0 looks_like_number($$row{$_}) ? :
180 0 0 if (defined $offset) { }
197 0 1 unless $self->index->sysseek(0, 0)
205 20746 10 if defined $row
209 0 1 unless $self->csv->eof