Branch Coverage

blib/lib/DBD/NullP.pm
Criterion Covered Total %
branch 10 24 41.6


line true false branch
20 0 6 if $drh
42 0 12 unless my $dbh = (shift())->SUPER::connect(@_)
80 13 86 if ($attrib eq 'AutoCommit') { }
0 86 elsif ($attrib eq 'nullp_set_err') { }
81 0 13 unless $value
84 13 0 $value ? :
108 0 6000 if defined $attr
116 2 0 if ($$sth{'Statement'} =~ /^ \s* SELECT \s+/imsx) { }
0 0 elsif ($$sth{'Statement'} =~ /^ \s* SLEEP \s+ (\S+) /imsx) { }
0 0 elsif ($$sth{'Statement'} =~ /^ \s* ERROR \s+ (\d+) \s* (.*) /imsx) { }
127 0 0 if (eval { do { require Time::HiRes; defined &Time::HiRes::sleep } }) { }
145 0 1 unless ($data and @$data)