Branch Coverage

blib/lib/DBIx/Class/AuditAny/Role/Storage.pm
Criterion Covered Total %
branch 25 32 78.1


line true false branch
251 11 7 unless $nested
255 11 7 if not defined $rows and defined $cond
283 11 7 if ($orig)
287 0 11 $want ? :
0 11 !defined($want) ? :
302 11 7 unless ($nested)
307 0 18 $want ? :
335 3 8 unless my $fcol = $map->{$col}
340 8 3 if (scalar keys %$rel_change > 0)
345 7 1 if scalar @$rel_rows > 0
375 0 13 unless exists $d->{'foreign'} and exists $d->{'self'}
395 0 28 unless scalar @pri_cols > 0
402 3 25 exists $change->{$_} ? :
407 0 28 unless scalar @$new_rows == 1
513 25 11 unless $rels->{$rel}{'attrs'}{'accessor'} eq 'multi'
516 0 11 if (ref $rels->{$rel}{'cond'} || '') eq 'CODE'