Branch Coverage

blib/lib/Test/Smoke/Database/DB.pm
Criterion Covered Total %
branch 7 102 6.8


line true false branch
79 0 1 $$indexer{'opts'}{'debug'} ? :
80 0 1 $$indexer{'opts'}{'verbose'} ? :
89 0 1 if $_[0]{'DBH'}
90 0 1 if ($Test::Smoke::Database::DB::verbose)
103 0 0 unless $nochomp
104 0 0 if not $_ or $_ eq ';'
105 0 0 if $Test::Smoke::Database::DB::debug
106 0 0 unless ($$self{'DBH'}->do($_))
120 1 0 unless $$self{'DBH'}
125 0 0 if ($cgi->param('smoke')) { }
130 0 0 if not $v or $v eq 'All'
131 0 0 if $a
132 0 0 if ($o eq 'date') { }
138 0 0 if ($cgi->param('failure') or $cgi->param('last'))
140 0 0 if $a
148 0 0 if ($cgi->param('failure') or $cgi->param('last'))
150 0 0 if $cgi->param('failure')
152 0 0 if ($list_id)
157 0 0 if $cgi->param('failure')
162 0 0 if ($cgi->param('last'))
164 0 0 if ($list_id)
178 0 0 if $a
180 0 0 unless $st->execute
197 0 0 if $failure{$id}
200 0 0 if $h2{$id}
203 0 0 if $matrix{$id}
254 0 1 if $Test::Smoke::Database::DB::limit
272 1 0 unless $$self{'DBH'}
274 0 0 if $Test::Smoke::Database::DB::debug
283 0 0 if not ref $ref or ref $ref ne 'HASH' or not $$ref{'os'}
287 0 0 if ($_)
291 0 0 if ($_ eq 'O') { }
0 0 elsif ($_ eq 'F') { }
0 0 elsif ($_ eq 'm') { }
0 0 elsif ($_ eq 'c') { }
297 0 0 $nbcf || $nbcm || $nbcc ? :
298 0 0 $pass ? :
0 0 if $Test::Smoke::Database::DB::verbose
302 0 0 $$ref{'matrix'} ? :
304 0 0 if $$ref{'id'}
307 0 0 if $$ref{'id'}
314 0 0 $$ref{'date'} ? :
319 0 0 $$ref{'author'} ? :
330 0 0 if $Test::Smoke::Database::DB::debug
332 0 0 unless ($st->execute)
340 0 0 if $Test::Smoke::Database::DB::debug
343 0 0 unless $r
344 0 0 unless $f
349 0 0 unless $self->rundb($req, 1)
361 0 0 unless $self->rundb($req, 1)
363 0 0 $DBI::errstr ? :