Branch Coverage

blib/lib/Class/DBI/Loader/Generic.pm
Criterion Covered Total %
branch 22 48 45.8


line true false branch
30 0 1 if ($args{'debug'})
35 0 1 unless ref $additional eq 'ARRAY'
37 1 0 unless ref $additional_base eq 'ARRAY'
40 1 0 unless ref $left_base eq 'ARRAY'
56 0 1 if $self->debug
58 1 0 if $$self{'_relationships'}
59 0 1 if $self->debug
124 0 1 if $self->debug
125 0 1 if $self->debug
130 0 1 if $$self{'_inflect'} and exists $$self{'_inflect'}{lc $table_class_base}
133 0 1 if $self->debug
134 0 1 if $self->debug
153 0 4 unless $table =~ /$constraint/
154 0 4 if defined $exclude and $table =~ /$exclude/
156 0 4 if $self->debug
161 4 0 if ($use_connection) { }
170 0 4 if $self->debug
171 0 4 if $self->debug
173 0 4 if $@
179 4 0 if ($$self{'_require'})
181 0 4 if ($$self{'_require_warn'} and $@ and not $@ =~ /Can't locate/)
193 0 0 if (my $sth = $dbh->foreign_key_info('', '', '', '', '', $table))
198 0 0 if $@ and $self->debug
210 4 0 $namespace ? :