Branch Coverage

blib/lib/MongoDBx/AutoDeref/DBRef.pm
Criterion Covered Total %
branch 0 8 0.0


line true false branch
69 0 0 unless scalar @dbs > 0 or any(@dbs) eq $hash{'$db'}
75 0 0 unless scalar @cols > 0 or any(@cols) eq $hash{'$ref'}
80 0 0 defined $fields ? :
0 0 unless my $doc = $collection->find_one({'_id', $hash{'$id'}}, defined $fields ? $fields : ())