Branch Coverage

blib/lib/DBIx/Log4perl/db.pm
Criterion Covered Total %
branch 0 150 0.0


line true false branch
32 0 0 if $h and $$h{'logmask'} & 1
46 0 0 if $$h{'logmask'} & 1
55 0 0 if ($$h{'logmask'} & 513 and not +(caller) =~ /^DBIx::Log4perl/o and not +(caller) =~ /^DBD::/o)
62 0 0 if ($sth)
75 0 0 if ($$h{'logmask'} & 513 and not +(caller) =~ /^DBIx::Log4perl/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]) { }
249 0 0 if ($attr)
253 0 0 if $a xor $b
256 0 0 if (exists $$attr{'dbix_l4p_logger'}) { }
0 0 elsif ($a and $b) { }
267 0 0 if exists $$attr{'dbix_l4p_logmask'}
270 0 0 if exists $$attr{'dbix_l4p_ignore_err_regexp'}
280 0 0 unless exists $h{'logmask'}
282 0 0 unless exists $h{'logger'}
294 0 0 if ($h{'logmask'} & 4)
296 0 0 defined $dsn ? :
0 0 defined $user ? :
313 0 0 if ($h{'logmask'} & 16)
314 0 0 if exists $$attr{'HandleError'}
316 0 0 if exists $$attr{'HandleSetErr'}
328 0 0 if ($$h{'logmask'} & 4)
338 0 0 if ($dbh)
345 0 0 if (not $@ and $h and defined $$h{'logger'})
346 0 0 if ($$h{'logmask'} & 4)
361 0 0 if $$h{'logmask'} & 8
371 0 0 if $$h{'logmask'} & 8
381 0 0 if $$h{'logmask'} & 8
393 0 0 if $$h{'logmask'} & 1
397 0 0 if $$h{'logmask'} & 1
419 0 0 if $h and exists $$h{'logger'}
420 0 0 unless $lh
422 0 0 if ($h and exists $$h{'err_regexp'})
423 0 0 if ($dbh->err =~ /$$h{'err_regexp'}/)
432 0 0 if ($DBI::lasth)
433 0 0 if $$DBI::lasth{'Type'}
435 0 0 if $$DBI::lasth{'Statement'}
442 0 0 if ($type eq 'st') { }
449 0 0 if exists $$h{'Statement'}
450 0 0 if $$dbh{'Statement'} and (exists $$h{'Statement'} and $$dbh{'Statement'} ne $$h{'Statement'})
456 0 0 exists $$dbh{'Name'} ? :
457 0 0 exists $$dbh{'Username'} ? :
462 0 0 if $handle->errstr and $handle->errstr ne $msg
465 0 0 if (exists $$h{'ParamValues'} and $$h{'ParamValues'})
472 0 0 if ($type eq 'st')
474 0 0 if ($$handle{'ParamValues'})
480 0 0 if $$handle{'ParamArrays'}
488 0 0 if (scalar @substmts)
491 0 0 if $$stmt{'Statement'} and (exists $$h{'Statement'} and $$h{'Statement'} ne $$stmt{'Statement'})
495 0 0 if (exists $$stmt{'ParamValues'} and $$stmt{'ParamValues'})
505 0 0 if (exists $$dbh{'Callbacks'})
515 0 0 if ($h and exists $$h{'ErrorHandler'}) { }
532 0 0 if ($handle)
534 0 0 if exists $$handle{'ParamValues'}
536 0 0 if exists $$h{'HandleSetErr'}