Branch Coverage

blib/lib/AnyEvent/DBI/MySQL.pm
Criterion Covered Total %
branch 1 48 2.0


line true false branch
31 0 2 @NEXT_ID ? :
37 0 0 unless $dbh
41 0 0 if $$cache{$_}
55 0 0 if ($cb and $h)
77 0 0 if ($GLOBAL_DESTRUCT)
83 0 0 if (not $$dbh{'Active'}) { }
89 0 0 if $$cache{$_}
100 0 0 if ($ref eq 'CODE' or $ref eq 'AnyEvent::CondVar') { }
102 0 0 if ($$data{'cb'})
110 0 0 unless ($args[1]{'async'})
119 0 0 if ($args[1]{'async'})
131 0 0 unless my $sth = $dbh->SUPER::prepare(@args)
160 0 0 $method eq 'selectall_hashref' ? :
162 0 0 if ($ref eq 'CODE' or $ref eq 'AnyEvent::CondVar') { }
169 0 0 if ($ref eq 'CODE' or $ref eq 'AnyEvent::CondVar') { }
188 0 0 unless $dbh
189 0 0 if ($dbh->err) { }
197 0 0 unless ($args[$attr_idx]{'async'})
204 0 0 if ($args[$attr_idx]{'async'}) { }
226 0 0 if ($ref eq 'CODE' or $ref eq 'AnyEvent::CondVar') { }
0 0 elsif ($$sth{$PRIVATE_async}) { }
227 0 0 if ($$data{'cb'})
232 0 0 unless ($$sth{$PRIVATE_async})
239 0 0 if ($sth->err)