Branch Coverage

blib/lib/AnyEvent/DBI/MySQL.pm
Criterion Covered Total %
branch 1 52 1.9


line true false branch
29 0 2 @NEXT_ID ? :
35 0 0 unless $dbh
39 0 0 if $cache->{$_}
50 0 0 if ($cb and $h) { }
55 0 0 if ($weakdbh and $weakdbh->{'mysql_auto_reconnect'})
57 0 0 if ($weakdbh->ping)
92 0 0 if ($GLOBAL_DESTRUCT)
98 0 0 if (not $dbh->{'Active'}) { }
104 0 0 if $cache->{$_}
115 0 0 if ($ref eq 'CODE' or $ref eq 'AnyEvent::CondVar') { }
117 0 0 if ($data->{'cb'})
125 0 0 unless ($args[1]{'async'})
134 0 0 if ($args[1]{'async'})
146 0 0 unless my $sth = $dbh->SUPER::prepare(@args)
175 0 0 $method eq 'selectall_hashref' ? :
177 0 0 if ($ref eq 'CODE' or $ref eq 'AnyEvent::CondVar') { }
184 0 0 if ($ref eq 'CODE' or $ref eq 'AnyEvent::CondVar') { }
203 0 0 unless $dbh
204 0 0 if ($dbh->err) { }
212 0 0 unless ($args[$attr_idx]{'async'})
219 0 0 if ($args[$attr_idx]{'async'}) { }
241 0 0 if ($ref eq 'CODE' or $ref eq 'AnyEvent::CondVar') { }
0 0 elsif ($sth->{$PRIVATE_async}) { }
242 0 0 if ($data->{'cb'})
247 0 0 unless ($sth->{$PRIVATE_async})
254 0 0 if ($sth->err)