Branch Coverage

blib/lib/Combine/Config.pm
Criterion Covered Total %
branch 14 48 29.1


line true false branch
45 350 50 if (ref $defConf{$opt} eq '' and not defined $configValues{$opt}) { }
0 50 elsif (ref $defConf{$opt} eq 'ARRAY') { }
30 20 elsif (ref $defConf{$opt} eq 'HASH') { }
51 10 20 if (not defined $configValues{$opt}) { }
20 0 elsif (ref $configValues{$opt} eq 'HASH') { }
75 0 10 if (defined $configValues{'DBItraceFile'})
78 10 0 if defined $configValues{'MySQLdatabase'}
84 10 0 if ($dbname =~ /^([^\@]+)@([^:]+):(.+)$/) { }
0 0 elsif ($dbname =~ /^([^:]+):(.+)$/) { }
0 0 elsif ($dbname =~ /^([^\@]+)@(.+)$/) { }
93 0 0 unless my $sv = 'DBI'->connect("DBI:mysql:database=$database;host=$dbhost", $dbuser, '', {'ShowErrorStatement', 1, 'RaiseError', 1, 'AutoCommit', 0})
105 0 0 if (ref $alias eq 'ARRAY') { }
136 0 0 if (ref ${$all;}{'URL'} eq '') { }
138 0 0 if ($l)
140 0 0 if (ref ${$all;}{'HOST:'} eq '') { }
142 0 0 if ($l)
166 0 0 if (ref ${$excl;}{'URL'} eq '') { }
168 0 0 if ($l)
170 0 0 if (ref ${$excl;}{'HOST:'} eq '') { }
172 0 0 if ($l)
198 0 11 if (scalar %configValues)
203 11 0 if (defined $baseDir)
209 10 0 unless (scalar %configValues)
213 0 0 unless (defined $value)