blib/lib/Log/Log4perl/Appender/DBI.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 29 | 44.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
60 | 2 | 3 | 0 | $self->{'usePreparedStmt'} and $self->{'bufferSize'} |
219 | 0 | 0 | 12 | ref $p->{'message'} eq "ARRAY" and @{$p->{'message'};} |
247 | 42 | 0 | 0 | $self->{'MAX_COL_SIZE'} and length $msg > $self->{'MAX_COL_SIZE'} |
256 | 0 | 0 | 10 | ref $p->{'message'} eq "ARRAY" and @{$p->{'message'};} |
269 | 3 | 0 | 8 | $self->{'BUFFER'} and ref $self->{'BUFFER'} eq "ARRAY" |
298 | 0 | 4 | 0 | $dbh and not $dbh->{'AutoCommit'} |
311 | 0 | 0 | 5 | $self->{'_mine'} and $self->{'dbh'} |
line | l | !l | condition |
---|---|---|---|
48 | 1 | 4 | $p{'bufferSize'} || 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
12 | 0 | 5 | 0 | ref $proto || $proto |
92 | 7 | 0 | 0 | $self->{'dbh'}->prepare($stmt) || croak("Log4perl: DBI->prepare failed $DBI::errstr\n$stmt") |