Condition Coverage

blib/lib/MongoDB/QueryBuilder.pm
Criterion Covered Total %
condition 4 23 17.3


and 3 conditions

line !l l&&!r l&&r condition
26 0 0 1 defined $_[0] and ref $_[0] eq 'HASH'
186 0 0 0 @_ and not $collection
0 0 0 @_ and $collection
0 0 0 @_ and $collection and not $collection->isa('MongoDB::Collection') || $collection->isa('Mango::Collection')

or 2 conditions

line l !l condition
382 1 2 $$args[1] || 0

or 3 conditions

line l !l&&r !l&&!r condition
21 0 22 0 ref $class || $class
186 0 0 0 $collection->isa('MongoDB::Collection') || $collection->isa('Mango::Collection')
0 0 0 @_ and not $collection or @_ and $collection and not $collection->isa('MongoDB::Collection') || $collection->isa('Mango::Collection')