Branch Coverage

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


line true false branch
25 1855 531 unless (ref $cond)
29 1586 269 if (defined $cond and length $cond) { }
39 0 269 unless $r->columns
50 0 269 if ($f_rsrc->has_column($rel)) { }
73 269 2117 ref $cond eq 'CODE' ? :
82 1846 540 $join_type ? :
1601 785 unless $attrs
89 1 2385 if $ENV{'DBIC_DONT_VALIDATE_RELS'}
90 269 2116 unless 'HASH' eq ref $cond
96 0 2116 unless $self_id =~ /^self\.(.*)$/
100 0 2116 unless my $column_info = $class->result_source->columns_info->{$key}
110 1 2115 if $column_info->{'is_nullable'}