Branch Coverage

blib/lib/DBIx/Array/Connect.pm
Criterion Covered Total %
branch 19 44 43.1


line true false branch
75 0 0 unless my $nickname = shift()
77 0 0 unless ref $override eq 'HASH'
78 0 0 unless my $connection = $$override{'connection'} || $self->cfg->val($nickname, 'connection')
83 0 0 if (ref $$override{'options'} eq 'HASH') { }
93 0 0 if ($dbx->can('execute'))
95 0 0 if (ref $$override{'execute'} eq 'ARRAY') { }
98 0 0 if defined $_
125 4 1 if $type
126 0 5 wantarray ? :
144 0 0 if @_
145 0 0 unless defined $$self{'class'}
164 0 48 if (@_)
166 0 0 unless -r $$self{'file'}
168 1 47 unless (defined $$self{'file'})
169 0 1 unless ref $self->path eq 'ARRAY'
173 1 0 if -r $$self{'file'}
207 3 9 if @_
208 1 11 unless (ref $$self{'path'} eq 'ARRAY')
210 0 1 if ($^O eq 'MSWin32') { }
238 3 2 if @_
239 1 4 unless $$self{'basename'}
259 1 45 unless ref $$self{'cfg'} eq 'Config::IniFiles'