Branch Coverage

blib/lib/DBIx/Class/Relationship/HasOne.pm
Criterion Covered Total %
branch 20 24 83.3


line true false branch
25 2324 665 unless (ref $cond)
29 1988 336 if (defined $cond and length $cond) { }
39 0 336 unless $r->columns
50 0 336 if ($f_rsrc->has_column($rel)) { }
73 336 2653 ref $cond eq 'CODE' ? :
82 2315 674 $join_type ? :
2003 986 unless $attrs
89 1 2988 if $ENV{'DBIC_DONT_VALIDATE_RELS'}
90 336 2652 unless 'HASH' eq ref $cond
96 0 2652 unless $self_id =~ /^self\.(.*)$/
99 0 2652 unless $class->has_column($key)
102 1 2651 if ($column_info->{'is_nullable'})