Condition Coverage

blib/lib/DBIx/LogAny/db.pm
Criterion Covered Total %
condition 22 78 28.2


and 3 conditions

line !l l&&!r l&&r condition
34 1 8 0 $h and $h->{'logmask'} & 1024
55 0 0 5 $h->{'logmask'} & 513 and not +(caller) =~ /^DBIx::LogAny/o
0 3 2 $h->{'logmask'} & 513 and not +(caller) =~ /^DBIx::LogAny/o and not +(caller) =~ /^DBD::/o
75 0 0 0 $h->{'logmask'} & 513 and not +(caller) =~ /^DBIx::LogAny/o
0 0 0 $h->{'logmask'} & 513 and not +(caller) =~ /^DBIx::LogAny/o and not +(caller) =~ /^DBD::/o
100 0 1 1 defined $affected and $affected eq '0E0'
1 1 0 defined $affected and $affected eq '0E0' and $h->{'logmask'} & 32
1 0 1 $affected ne '0E0' and $h->{'logmask'} & 1
103 0 1 0 $h->{'logmask'} & 16 and not $h->{'logmask'} & 1
121 0 0 0 scalar @args > 0 and ref $args[0]
152 0 0 0 scalar @args > 0 and ref $args[0]
175 0 0 0 scalar @args > 0 and ref $args[0]
197 0 0 1 scalar @args > 0 and ref $args[0]
219 0 0 0 scalar @args > 0 and ref $args[0]
320 0 0 1 not $@ and $h
0 0 1 not $@ and $h and defined $h->{'logger'}
390 0 1 0 $h and exists $h->{'logger'}
397 0 1 0 $h and exists $h->{'err_regexp'}
428 0 1 0 exists $h->{'Statement'} and $dbh->{'Statement'} ne $h->{'Statement'}
0 1 0 $dbh->{'Statement'} and (exists $h->{'Statement'} and $dbh->{'Statement'} ne $h->{'Statement'})
437 0 0 1 $handle->errstr and $handle->errstr ne $msg
440 1 0 0 exists $h->{'ParamValues'} and $h->{'ParamValues'}
469 0 0 0 exists $h->{'Statement'} and $h->{'Statement'} ne $stmt->{'Statement'}
0 0 0 $stmt->{'Statement'} and (exists $h->{'Statement'} and $h->{'Statement'} ne $stmt->{'Statement'})
470 0 0 0 exists $stmt->{'ParamValues'} and $stmt->{'ParamValues'}
491 0 1 0 $h and exists $h->{'ErrorHandler'}