Branch Coverage

blib/lib/DBIx/LogAny/st.pm
Criterion Covered Total %
branch 11 70 15.7


line true false branch
17 6 0 if $h->{'logmask'} & 1
34 1 4 if ($h->{'logmask'} & 513 and not +(caller) =~ /^DBD::/o and not $h->{'dbd_specific'})
45 1 0 if (scalar @_) { }
49 1 0 $sth->{'Statement'} ? :
53 0 0 if $h->{'logmask'} & 256
81 0 0 if ($h->{'logger'}->is_debug and $h->{'logmask'} & 128 and $h->{'driver'} eq 'Oracle' and not $h->{'dbd_specific'})
91 0 0 if scalar @lines > 0
100 1 4 if (not $ret) { }
4 0 elsif (defined $ret and not $h->{'dbd_specific'}) { }
101 0 1 if ($h->{'logmask'} & 16 and not +(caller) =~ /^DBD::/o)
103 0 0 if (exists $h->{'err_regexp'} and not $sth->err =~ /$h->{'err_regexp'}/ or not exists $h->{'err_regexp'})
113 0 0 if not defined $sth->{'NUM_OF_FIELDS'} and $h->{'logmask'} & 1 and not +(caller) =~ /^DBD::/o
125 0 0 if $h->{'logmask'} & 1
127 0 0 if ($#args >= 0 and $args[0] and ref $args[0] eq 'HASH' and not exists $args[0]{'ArrayTupleStatus'}) { }
0 0 elsif (not $args[0]) { }
148 0 0 if (not $executed) { }
0 0 elsif ($executed) { }
150 0 0 if (!$h->{'logmask'} & 64)
151 0 0 unless wantarray
157 0 0 unless ref $array_tuple_status->[$n]
161 0 0 if (ref $pa->{$p}) { }
171 0 0 if (defined $sth->{'NUM_OF_FIELDS'} or not $h->{'logmask'} & 1)
173 0 0 unless wantarray
181 0 0 if $h->{'logmask'} & 1
182 0 0 unless wantarray
194 0 0 if $h->{'logmask'} & 1 and ($h->{'logmask'} & 256) == 0
206 0 0 if $h->{'logmask'} & 1 and not +(caller) =~ /^DBD::/o
216 0 0 if $h->{'logmask'} & 1
229 0 2 if $h->{'logmask'} & 2
242 0 0 if $h->{'logmask'} & 2
251 0 0 if (wantarray) { }
257 0 0 if $h->{'logmask'} & 2
265 0 0 if $h->{'logmask'} & 2
280 0 0 if $h->{'logmask'} & 2
294 0 8 if (not exists $sth->{'private_DBIx_LogAny'}) { }