Branch Coverage

lib/MojoX/Mysql/DB.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
22 0 0 if (exists $$self{'config'}{$id}{'master'}) { }
29 0 0 if (defined $config and ref $config eq 'HASH' and %{$config;})
30 0 0 if (ref $$self{'dbh'}{'master'}{$id} eq 'DBI::db')
32 0 0 if $dbh->ping
45 0 0 if ($DBI::errstr) { }
66 0 0 if (exists $$self{'config'}{$id}{'slave'}) { }
73 0 0 if (defined $config and ref $config eq 'ARRAY' and @{$config;})
74 0 0 if (ref $$self{'dbh'}{'slave'}{$id} eq 'DBI::db')
76 0 0 if $dbh->ping
91 0 0 if ($DBI::errstr) { }
108 0 0 if (ref $types eq 'HASH')
111 0 0 if ref $dbh eq 'DBI::db'
112 0 0 if defined $ENV{'MOJO_MYSQL_DEBUG'}
121 0 0 if (ref $types eq 'HASH')
124 0 0 if ref $dbh eq 'DBI::db'
125 0 0 if defined $ENV{'MOJO_MYSQL_DEBUG'}
134 0 0 if (ref $types eq 'HASH')
137 0 0 if ref $dbh eq 'DBI::db'
138 0 0 if defined $ENV{'MOJO_MYSQL_DEBUG'}