Branch Coverage

blib/lib/DBIx/Connect/FromConfig.pm
Criterion Covered Total %
branch 2 40 5.0


line true false branch
18 1 1 if (grep {/^-in_dbi$/i;} @_)
29 0 0 unless @args
30 0 0 if @args % 2 != 0
60 0 0 if (eval { do { $config->isa('Config::IniFiles') } }) { }
0 0 elsif (eval { do { $config->isa('Config::Simple') } }) { }
0 0 elsif (eval { do { $config->isa('Config::Tiny') } }) { }
0 0 elsif (ref $config eq 'HASH') { }
90 0 0 unless $db{'driver'}
91 0 0 unless exists $db_param_name{$db{'driver'}}
95 0 0 unless defined $db{'database'}
96 0 0 unless defined $db{'host'}
97 0 0 unless defined $db{'port'}
98 0 0 unless defined $db{'options'}
99 0 0 unless defined $db{'username'}
100 0 0 unless defined $db{'password'}
104 0 0 if (ref $db{'attributes'}) { }
105 0 0 unless ref $db{'attributes'} eq 'HASH'
114 0 0 $db{'host'} ? :
0 0 $db{'port'} ? :
0 0 $db{'options'} ? :