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
92 0 0 if ($DBI::errstr) { }
109 0 0 if (ref $types eq 'HASH')
112 0 0 if (ref $dbh eq 'DBI::db')
114 0 0 if defined $ENV{'MOJO_MYSQL_DEBUG'}
124 0 0 if (ref $types eq 'HASH')
127 0 0 if (ref $dbh eq 'DBI::db')
129 0 0 if defined $ENV{'MOJO_MYSQL_DEBUG'}
139 0 0 if (ref $types eq 'HASH')
142 0 0 if (ref $dbh eq 'DBI::db')
144 0 0 if defined $ENV{'MOJO_MYSQL_DEBUG'}