Condition Coverage

blib/lib/MongoDBx/Tiny/Document.pm
Criterion Covered Total %
condition 1 23 4.3


and 3 conditions

line !l l&&!r l&&r condition
516 0 0 0 $document and !ref($document) eq 'HASH'

or 2 conditions

line l !l condition
87 1 0 shift() || 'MongoDBx::Tiny::Document'
319 0 0 util_class_attr('INDEXES') || []
387 0 0 util_class_attr('ESSENTIAL', $self) || '_id'
562 0 0 shift() || {}
592 0 0 shift() || {}
649 0 0 $self->{'_GROUP'}{$_->{'name'}} || []
660 0 0 $self->{'_GROUP'}{$name} || []

or 3 conditions

line l !l&&r !l&&!r condition
210 0 0 0 util_class_attr($attr, $class) || 'MongoDBx::Tiny::Document::Field'->new
271 0 0 0 util_class_attr($attr, $class) || 'MongoDBx::Tiny::Document::Relation'->new