Condition Coverage

blib/lib/LMDB_File.pm
Criterion Covered Total %
condition 51 92 55.4


and 3 conditions

line !l l&&!r l&&r condition
84 6 2 0 $eflags->{'mapsize'} and $self->set_mapsize($eflags->{'mapsize'})
86 6 2 0 $eflags->{'maxdbs'} and $self->set_maxdbs($eflags->{'maxdbs'})
88 8 0 0 $eflags->{'maxreaders'} and $self->set_maxreaders($eflags->{'maxreaders'})
113 2 6 0 $Envs{$$self} && $Envs{$$self}[0]
114 2 6 0 $txl and @$txl
8 0 0 $txl and @$txl and my $topTxn = $$txl[$#$txl]
150 1 19 0 not ref $parent and @$txl
152 19 0 1 ref $parent && $parent
178 0 4 11 $td->{'Active'} and not $td->{'RO'}
4 11 0 $td->{'Active'} and not $td->{'RO'} and $td->{'AC'}
192 0 20 0 $LMDB::Env::Envs{$eid} && $LMDB::Env::Envs{$eid}[0]
280 0 17 0 $dbi and $LMDB_File::DEBUG
347 1 100281 0 $txn and $LMDB::Txn::Txns{$$txn} || undef $self->[0]
0 100281 0 $txn and $LMDB::Txn::Txns{$$txn} || undef $self->[0] and $LMDB::Txn::Txns{$$txn}{'Active'}
358 2 5 0 $LMDB::Txn::Txns{$$txn} and $self->[1]
383 26 1 0 $res and $die_on_err
0 1 0 $res and $die_on_err and $res != MDB_NOTFOUND()
436 1 0 2 ref $proto and _chkalive($proto)
461 6 1 0 $res and $die_on_err
0 1 0 $res and $die_on_err and $res != MDB_NOTFOUND()
471 0 3 0 $txn and $LMDB::Txn::Txns{$$txn} || undef $self->[0]

or 2 conditions

line l !l condition
82 0 3 $eflags || 0
95 0 8 $eflags->{'mode'} || 384
171 0 1 shift() || 0
275 7 15 $flags ||= 0
347 100281 0 $LMDB::Txn::Txns{$$txn} || undef $self->[0]
358 5 2 $LMDB::Txn::Txns{$$txn} and $self->[1] or undef $self->[0]
383 0 27 $res and $die_on_err and $res != MDB_NOTFOUND() or undef $@
431 0 3 $_[1] || 0
461 0 7 $res and $die_on_err and $res != MDB_NOTFOUND() or undef $@
471 3 0 $LMDB::Txn::Txns{$$txn} || undef $self->[0]

or 3 conditions

line l !l&&r !l&&!r condition
128 4 0 16 shift() || $eflags & LMDB_File::MDB_RDONLY()
327 0 4 0 ref $proto || $proto
336 1 15 0 $class || $proto