Branch Coverage

blib/lib/DBIx/Class/Candy.pm
Criterion Covered Total %
branch 23 36 63.8


line true false branch
50 20 1 if (my($part) = $class =~ /(?:::Schema)?::Result::(.+)$/) { }
59 2 19 if ($version eq 'singular') { }
19 0 elsif ($version == 1) { }
94 15 4 if (my $v = $self->autotable($args->{'autotable'}))
97 15 60 unless $ran++
128 0 465 if (my $a = $DBIx::Class::Candy::Exports::aliases{$_})
131 0 465 if (my $m = $DBIx::Class::Candy::Exports::methods{$_})
153 0 26 unless defined $val
154 13 13 if ($skipnext)
159 10 3 if ($val eq '-base') { }
3 0 elsif ($val eq '-autotable') { }
0 0 elsif ($val eq '-perl5') { }
0 0 elsif ($val eq '-experimental') { }
0 0 elsif ($val eq '-components') { }
164 3 0 if length $autotable == 1
286 12 7 if ($perl_version)
291 9 10 if ($experimental)
293 0 9 unless ref $experimental and ref $experimental eq 'ARRAY'