Condition Coverage

blib/lib/AnyEvent/DBI/MySQL.pm
Criterion Covered Total %
condition 1 40 2.5


and 3 conditions

line !l l&&!r l&&r condition
50 0 0 0 $cb and $h
55 0 0 0 $weakdbh and $weakdbh->{'mysql_auto_reconnect'}

or 2 conditions

line l !l condition
31 2 0 $attr //= {}
123 0 0 $args[1] //= {}
124 0 0 $args[1]{'async'} //= 1
133 0 0 $args[1] //= {}
144 0 0 $args[1] //= {}
145 0 0 $args[1]{'async'} //= 1
180 0 0 $args[$attr_idx] //= {}
186 0 0 $args[$attr_idx]{'async'} //= 1

or 3 conditions

line l !l&&r !l&&!r condition
51 0 0 0 $args // ()
115 0 0 0 $ref eq 'CODE' or $ref eq 'AnyEvent::CondVar'
177 0 0 0 $ref eq 'CODE' or $ref eq 'AnyEvent::CondVar'
184 0 0 0 $ref eq 'CODE' or $ref eq 'AnyEvent::CondVar'
241 0 0 0 $ref eq 'CODE' or $ref eq 'AnyEvent::CondVar'
258 0 0 0 $args // ()