Branch Coverage

blib/lib/DBD/Log.pm
Criterion Covered Total %
branch 6 26 23.0


line true false branch
33 3 0 unless @{$self->logThis;}
35 0 3 if (not $self->logFH)
48 0 0 if ($self->logThis->[0] ne 'all' and not grep({$_ eq $command;} @{$self->logThis;}))
54 0 0 if (my($fullSQL, @sqlRest) = $self->composeStatement($statement, @rest)) { }
67 0 4 unless $self->dbiLogging
71 0 4 if ($self->logThis->[0] ne 'all' and not grep({$_ eq $command;} @{$self->logThis;}))
84 0 0 if (my(@parts) = split(/\?/, $statement, 0)) { }
0 0 elsif ($statement =~ /\:\w+/) { }
89 0 0 if $rest[$_] =~ /\D+/
119 0 6 unless ($fh = $self->logFH)
139 0 4 [caller 1]->[3] && [caller 1]->[3] =~ /prepare_cached/ ? :
163 0 0 unless exists $sthCache{$self}
166 0 0 if exists $sthCache{$self}{$KEY}