Branch Coverage

blib/lib/MongoDB/Role/_InsertPreEncoder.pm
Criterion Covered Total %
branch 7 16 43.7


line true false branch
44 0 0 if $doc->[$i] eq '_id'
45 0 0 $i < $#$doc ? :
56 2 0 $type eq 'BSON::Raw' ? :
0 2 $type eq 'Tie::IxHash' ? :
0 2 $type eq 'ARRAY' || $type eq 'BSON::Doc' ? :
0 2 $type eq 'HASH' ? :
57 1 1 unless (defined $id)
59 1 0 $creator ? :