Condition Coverage

blib/lib/MongoDB/Role/_UpdatePreEncoder.pm
Criterion Covered Total %
condition 2 11 18.1


and 2 conditions

line l !l condition
48 1 0 $type eq 'ARRAY' and scalar @$doc

and 3 conditions

line !l l&&!r l&&r condition
41 1 0 0 $type eq 'BSON::Array' and not $is_replace
48 0 0 0 $type eq 'ARRAY' and scalar @$doc and ref $doc->[0]
0 0 0 $type eq 'ARRAY' and scalar @$doc and ref $doc->[0] and not $is_replace