Branch Coverage

blib/lib/DBIx/QuickORM/Role/Linked.pm
Criterion Covered Total %
branch 32 48 66.6


line true false branch
31 20 2 if (@_ % 2) { }
40 0 22 if $params{'link'}
43 5 15 if $spec and builtin::blessed($spec) and $spec->isa("DBIx::QuickORM::Link")
45 6 11 if ($params{'from'})
47 3 3 if $s
53 0 14 if ref $spec
56 0 14 unless my $found = $self->_link_from_name(%params)
58 0 14 unless ref $found eq "ARRAY"
59 14 0 if @$found == 1
73 5 9 unless $cache and $cache->{'cache_id'} eq "$self"
75 5 9 unless ($cache->{'built'})
77 0 2 unless $a->other_table cmp $b->other_table
79 0 7 $f ? :
100 0 14 $columns ? :
103 0 14 if $table and $alias
104 0 2 if $table and $spec and not $alias
105 0 12 if $spec and $alias and not $table
107 0 14 if $table and $key
108 0 0 if $key and $spec and not $table
109 0 2 if $table and $spec and not $key
111 0 14 if $alias
112 12 2 if $spec and not $alias
114 2 12 if $table
115 12 2 if $spec and not $table