Branch Coverage

blib/lib/DBIx/LogAny/db.pm
Criterion Covered Total %
branch 0 142 0.0


line true false branch
33 0 0 if $h and $$h{'logmask'} & 1024
46 0 0 if $$h{'logmask'} & 1
55 0 0 if ($$h{'logmask'} & 513 and not +(caller) =~ /^DBIx::LogAny/o and not +(caller) =~ /^DBD::/o)
62 0 0 if ($sth)
75 0 0 if ($$h{'logmask'} & 513 and not +(caller) =~ /^DBIx::LogAny/o and not +(caller) =~ /^DBD::/o)
83 0 0 if ($sth)
95 0 0 if $$h{'logmask'} & 513
100 0 0 if (not defined $affected) { }
0 0 elsif (defined $affected and $affected eq '0E0' and $$h{'logmask'} & 32) { }
0 0 elsif ($affected ne '0E0' and $$h{'logmask'} & 1) { }
101 0 0 if $$h{'logmask'} & 16 and not $$h{'logmask'} & 1
109 0 0 unless defined $affected
120 0 0 if ($$h{'logmask'} & 513)
121 0 0 if (scalar @args > 0 and ref $args[0]) { }
132 0 0 if (wantarray) { }
134 0 0 if $$h{'logmask'} & 2
140 0 0 if $$h{'logmask'} & 2
151 0 0 if ($$h{'logmask'} & 513)
152 0 0 if (scalar @args > 0 and ref $args[0]) { }
164 0 0 if $$h{'logmask'} & 2
174 0 0 if ($$h{'logmask'} & 513)
175 0 0 if (scalar @args > 0 and ref $args[0]) { }
196 0 0 if ($$h{'logmask'} & 513)
197 0 0 if (scalar @args > 0 and ref $args[0]) { }
209 0 0 if $$h{'logmask'} & 2
218 0 0 if ($$h{'logmask'} & 513)
219 0 0 if (scalar @args > 0 and ref $args[0]) { }
250 0 0 if (exists $$attr{'dbix_la_logger'}) { }
0 0 elsif (exists $$attr{'dbix_la_category'}) { }
260 0 0 if exists $$attr{'dbix_la_logmask'}
262 0 0 if exists $$attr{'dbix_la_ignore_err_regexp'}
266 0 0 unless exists $h{'logmask'}
277 0 0 if ($h{'ll_loaded'})
288 0 0 if ($h{'logmask'} & 16)
289 0 0 if exists $$attr{'HandleError'}
291 0 0 if exists $$attr{'HandleSetErr'}
303 0 0 if ($$h{'logmask'} & 4)
313 0 0 if ($dbh)
320 0 0 if (not $@ and $h and defined $$h{'logger'})
321 0 0 if ($$h{'logmask'} & 4)
334 0 0 if $$h{'logmask'} & 8
344 0 0 if $$h{'logmask'} & 8
354 0 0 if $$h{'logmask'} & 8
364 0 0 if $$h{'logmask'} & 1
369 0 0 if $$h{'logmask'} & 1
390 0 0 if $h and exists $$h{'logger'}
391 0 0 unless $lh
393 0 0 unless ($lh->is_fatal)
397 0 0 if ($h and exists $$h{'err_regexp'})
398 0 0 if ($dbh->err =~ /$$h{'err_regexp'}/)
407 0 0 if ($DBI::lasth)
408 0 0 if $$DBI::lasth{'Type'}
410 0 0 if $$DBI::lasth{'Statement'}
417 0 0 if ($type eq 'st') { }
424 0 0 if exists $$h{'Statement'}
425 0 0 if $$dbh{'Statement'} and (exists $$h{'Statement'} and $$dbh{'Statement'} ne $$h{'Statement'})
431 0 0 exists $$dbh{'Name'} ? :
432 0 0 exists $$dbh{'Username'} ? :
437 0 0 if $handle->errstr and $handle->errstr ne $msg
440 0 0 if (exists $$h{'ParamValues'} and $$h{'ParamValues'})
447 0 0 if ($type eq 'st')
449 0 0 if ($$handle{'ParamValues'})
455 0 0 if $$handle{'ParamArrays'}
463 0 0 if (scalar @substmts)
466 0 0 if $$stmt{'Statement'} and (exists $$h{'Statement'} and $$h{'Statement'} ne $$stmt{'Statement'})
470 0 0 if (exists $$stmt{'ParamValues'} and $$stmt{'ParamValues'})
480 0 0 if (exists $$dbh{'Callbacks'})
491 0 0 if ($h and exists $$h{'ErrorHandler'}) { }
508 0 0 if ($handle)
510 0 0 if exists $$handle{'ParamValues'}
512 0 0 if exists $$h{'HandleSetErr'}