Branch Coverage

blib/lib/TreePath/Backend/DBIx.pm
Criterion Covered Total %
branch 14 22 63.6


line true false branch
58 0 6 unless my $model_config = $$config{$self->config->{'backend'}{'args'}{'model'}}
70 7 0 unless ($dsn)
72 7 0 if (ref $$model_config{'connect_info'}) { }
95 0 7 if ($@)
98 0 7 unless $dsn
101 7 0 if ($db_type eq 'sqlite')
121 5 2 if $self->can('_populate_backend') and not defined $self->_populate_backend and defined $self->config->{'backend'}{'args'}{'populate_backend'}
126 0 7 if ($@)
134 5 2 if ($@)
135 0 5 if $self->debug
137 4 1 if $schema->can('_populate') and $self->_populate_backend