Condition Coverage

blib/lib/DBM/Deep/Engine/File.pm
Criterion Covered Total %
condition 24 27 88.8


and 3 conditions

line !l l&&!r l&&r condition
114 3 3 1155 defined $self->{$attr} && length $self->{$attr}
328 1009 3 1 defined $loc and $loc == $tmpvar->_base_offset

or 2 conditions

line l !l condition
272 1231 564 &Scalar::Util::reftype($value) || ''
655 17 3 $self->{'entries'}{$self->trans_id} ||= {}
674 1788 89 $self->{'entries'}{$trans_id} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
114 6 3 1152 not defined $self->{$attr} && length $self->{$attr} or $self->{$attr} =~ /\D/
9 3 1149 not defined $self->{$attr} && length $self->{$attr} or $self->{$attr} =~ /\D/ or $self->{$attr} < $c->{'floor'}
292 1049 174 505 $r eq "ARRAY" or $r eq "HASH"
815 0 0 291 @values != 4 or grep {not defined $_;} @values
1151 0 3 2 $sector->type eq "A" or $sector->type eq "H"