Branch Coverage

blib/lib/Mandel/Relationship/BelongsTo.pm
Criterion Covered Total %
branch 3 22 13.6


line true false branch
17 0 1 ref $_[-1] eq 'CODE' ? :
23 1 0 if ($obj) { }
0 0 elsif (not delete $doc->{'fresh'} and my $cached = $doc->_cache($accessor)) { }
24 1 0 if (UNIVERSAL::isa($obj, 'Mango::BSON::ObjectID'))
28 0 0 if (ref $obj eq 'HASH')
33 0 0 if $doc->dirty
36 0 0 unless ($cb)
53 0 0 unless $err
59 0 0 unless $cb
64 0 0 unless $cb
68 0 0 unless $err