Condition Coverage

blib/lib/LMDB_File.pm
Criterion Covered Total %
condition 47 83 56.6


and 3 conditions

line !l l&&!r l&&r condition
83 4 2 0 $$eflags{'mapsize'} and $self->set_mapsize($$eflags{'mapsize'})
85 4 2 0 $$eflags{'maxdbs'} and $self->set_maxdbs($$eflags{'maxdbs'})
87 6 0 0 $$eflags{'maxreaders'} and $self->set_maxreaders($$eflags{'maxreaders'})
151 1 13 0 not ref $parent and @$txl
153 13 0 1 ref $parent && $parent
179 0 1 10 $$td{'Active'} and not $$td{'RO'}
1 8 2 $$td{'Active'} and not $$td{'RO'} and $$td{'AC'}
193 0 0 14 $LMDB::Env::Envs{$eid} && $LMDB::Env::Envs{$eid}[0]
281 0 15 0 $dbi and $LMDB_File::DEBUG
347 1 266 0 $txn and $LMDB::Txn::Txns{$$txn} || undef $$self[0]
0 0 266 $txn and $LMDB::Txn::Txns{$$txn} || undef $$self[0] and $LMDB::Txn::Txns{$$txn}{'Active'}
359 1 0 4 $LMDB::Txn::Txns{$$txn} and $$self[1]
384 26 1 0 $res and $die_on_err
0 1 0 $res and $die_on_err and $res != MDB_NOTFOUND()
437 1 0 2 ref $proto and _chkalive($proto)
462 6 1 0 $res and $die_on_err
0 1 0 $res and $die_on_err and $res != MDB_NOTFOUND()
472 0 3 0 $txn and $LMDB::Txn::Txns{$$txn} || undef $$self[0]

or 2 conditions

line l !l condition
82 0 2 $eflags || 0
95 0 6 $$eflags{'mode'} || 384
172 0 1 shift() || 0
276 7 13 $flags ||= 0
347 266 0 $LMDB::Txn::Txns{$$txn} || undef $$self[0]
359 4 1 $LMDB::Txn::Txns{$$txn} and $$self[1] or undef $$self[0]
384 0 27 $res and $die_on_err and $res != MDB_NOTFOUND() or undef $@
432 0 3 $_[1] || 0
462 0 7 $res and $die_on_err and $res != MDB_NOTFOUND() or undef $@
472 3 0 $LMDB::Txn::Txns{$$txn} || undef $$self[0]

or 3 conditions

line l !l&&r !l&&!r condition
129 1 0 13 shift() || $eflags & LMDB_File::MDB_RDONLY()
328 0 2 0 ref $proto || $proto
337 1 13 0 $class || $proto