Branch Coverage

blib/lib/DBIx/Array/Connect.pm
Criterion Covered Total %
branch 32 50 64.0


line true false branch
77 0 2 unless my $nickname = shift()
79 2 0 unless ref $override eq "HASH"
80 0 2 unless my $connection = $override->{'connection'} || $self->cfg->val($nickname, 'connection')
85 0 2 if (ref $override->{'options'} eq 'HASH') { }
95 2 0 if ($dbx->can("execute"))
97 0 2 if (ref $override->{'execute'} eq 'ARRAY') { }
100 0 0 if defined $_
127 4 1 if $type
128 0 5 wantarray ? :
142 0 2 unless my $section = shift()
146 8 2 @value == 1 ? :
148 1 1 wantarray ? :
166 0 1 if @_
167 1 0 unless defined $self->{'class'}
186 0 75 if (@_)
188 0 0 unless -r $self->{'file'}
190 2 73 unless (defined $self->{'file'})
191 0 2 unless ref $self->path eq "ARRAY"
195 2 0 if -r $self->{'file'}
229 3 9 if @_
230 1 11 unless (ref $self->{'path'} eq "ARRAY")
232 0 1 if ($^O eq 'MSWin32') { }
260 3 2 if @_
262 1 4 unless $self->{'basename'}
282 4 69 unless ref $self->{'cfg'} eq "Config::IniFiles"