Condition Coverage

blib/lib/SQLite_File.pm
Criterion Covered Total %
condition 74 143 51.7


and 3 conditions

line !l l&&!r l&&r condition
259 0 0 11 defined $index and CORE::ref($index) =~ /INFO$/
366 3 5 3 $infix and $infix =~ /
8 3 0 $infix and $infix =~ /{'type'} eq 'BINARY'
390 0 0 3 defined $index and CORE::ref($index) =~ /INFO$/
595 2 1 0 $self->index->{'type'} eq 'BINARY' and $self->_index_is_stale
663 0 6 0 $self->{'ref'} and $self->ref ne 'HASH'
677 0 27 0 $self->{'ref'} and $self->ref ne 'HASH'
753 0 0 3 $ret && $ret->[0]
818 6 0 7 not $self->keep and $self->_fh
1185 1 1 0 $self->index->{'type'} eq 'BINARY' and $self->_index_is_stale
1232 14 17 3 $self->index->{'type'} eq 'BINARY' and $self->_index_is_stale
1260 23 3 3 $flags == R_CURSOR() and $self->ref eq 'HASH'
1671 0 10 0 defined $seqidx->[$i] && ($pk == $seqidx->[$i] ? $i : undef)

or 2 conditions

line l !l condition
248 8 3 $flags //= 66
257 8 3 $mode ||= 420
309 4 7 $col ||= 'nocase'
327 0 11 $index->{'cachesize'} || 20000
330 3 8 $index->{'flags'} || 0
378 2 1 $flags //= 66
388 2 1 $mode ||= 420
452 0 3 $index->{'flags'} || 0
774 1 0 shift() || 0
1566 0 0 $level ||= 3

or 3 conditions

line l !l&&r !l&&!r condition
258 5 6 0 $index ||= $DB_HASH
389 2 1 0 $index ||= $DB_RECNO
488 0 35 25 not $self->{'ref'} or $self->ref eq 'HASH'
540 0 36 13 not defined $self->{'ref'} or $self->ref eq 'HASH'
597 0 2 1 not $self->ref or $self->ref eq 'HASH'
631 0 25 0 not $self->ref or $self->ref eq 'HASH'
686 0 0 25 not $self->{'ref'} or $self->ref ne 'ARRAY'
694 0 0 0 not $self->ref or $self->ref ne 'ARRAY'
718 0 0 3 not $self->{'ref'} or $self->ref ne 'ARRAY'
732 0 0 2 not $self->{'ref'} or $self->ref ne 'ARRAY'
747 0 0 3 not $self->{'ref'} or $self->ref ne 'ARRAY'
761 0 0 2 not $self->{'ref'} or $self->ref ne 'ARRAY'
775 1 0 0 shift() || $self->FETCHSIZE - $offset
831 1 3 0 not defined $code or CORE::ref $code eq 'CODE'
841 0 2 0 not defined $code or CORE::ref $code eq 'CODE'
851 0 2 1 not defined $code or CORE::ref $code eq 'CODE'
860 0 2 0 not defined $code or CORE::ref $code eq 'CODE'
1062 3 2 3 not defined $_ or $_ == R_SETCURSOR()
1074 2 3 0 $self->_last_pk || $self->_get_pk
1096 1 0 0 $self->ref eq 'ARRAY' or $self->dup
1 0 0 $self->ref eq 'ARRAY' or $self->dup or not $self->EXISTS($key)
1115 1 0 0 $self->ref eq 'ARRAY' or $self->dup
1 0 0 $self->ref eq 'ARRAY' or $self->dup or not $self->EXISTS($key)
1135 0 0 0 $self->ref eq 'ARRAY' or $self->dup
0 0 0 $self->ref eq 'ARRAY' or $self->dup or not $self->EXISTS($key)
1145 0 0 1 $self->ref eq 'ARRAY' or $self->dup
0 0 1 $self->ref eq 'ARRAY' or $self->dup or not $self->EXISTS($key)
1531 14 0 135 @_ or $self->{'pending'} > $SQLite_File::MAXPEND