Branch Coverage

blib/lib/DBIx/Class/Relationship/Accessor.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
17 29083 3 if (my $acc_type = $info->{'attrs'}{'accessor'})
26 11196 17887 if ($acc_type eq 'single') { }
5559 12328 elsif ($acc_type eq 'filter') { }
12328 0 elsif ($acc_type eq 'multi') { }
63 0 5559 unless $class->has_column($rel)
75 0 120 unless $val->isa($f_class)
83 0 120 if @rest
88 7 113 if not defined $pk_val and $val->in_storage