Branch Coverage

blib/lib/Tapper/Reports/DPath.pm
Criterion Covered Total %
branch 57 94 60.6


line true false branch
44 6 32 if ($count) { }
123 19 0 if $ENV{'HARNESS_ACTIVE'}
131 0 0 if -e '/tmp/TAPPER_CACHE_CLEAR'
147 19 0 if $ENV{'HARNESS_ACTIVE'}
154 0 0 if -e '/tmp/TAPPER_CACHE_CLEAR'
159 0 0 unless defined $cached_res
161 0 0 if ($cached_res_count == $rs_count)
183 41 0 if $ENV{'HARNESS_ACTIVE'}
190 0 0 if -e '/tmp/TAPPER_CACHE_CLEAR'
199 41 0 if $ENV{'HARNESS_ACTIVE'}
206 0 0 if -e '/tmp/TAPPER_CACHE_CLEAR'
221 16 0 unless $puresqlabstract
222 15 1 $condition ? :
264 0 16 if defined $cached_res
273 0 34 if (defined $cached_row_res)
297 3 0 unless $puresqlabstract
298 3 0 $condition ? :
299 3 0 $attrs ? :
301 2 1 $nohost ? :
302 2 1 $nohost ? :
303 2 1 $nohost ? :
305 2 1 $nohost ? :
346 0 3 if defined $cached_res
355 0 7 if (defined $cached_row_res)
378 0 0 $condition ? :
379 0 0 $attrs ? :
435 15 21 $rga ? :
15 21 $rga ? :
30 6 $rgt ? :
30 6 $rgt ? :
450 27 45 unless $groupreports{$type}
467 6795 1305 unless defined $columns{$_}
470 180 0 if keys %columns
478 0 120 if $type eq 'arbitrary' and $groupreport->reportgrouparbitrary->primaryreport
479 30 90 if $type eq 'testrun' and $groupreport->reportgrouptestrun->primaryreport
481 45 75 $groupreport_id == $id ? :
482 30 90 $primary ? :
498 30 6 if ($report->reportgrouptestrun and $report->reportgrouptestrun->testrun_id)
501 3 27 unless ($rgt_stats and $rgt_stats->testrun_id)
522 0 36 if (my $host = model('TestrunDB')->resultset('Host')->search({'name', $report->machine_name}, {'rows', 1})->first)
525 0 36 defined $hwdb && %$hwdb ? :
529 36 0 $report->suite ? :
30 6 $report->reportgrouptestrun ? :
15 21 $report->reportgrouparbitrary ? :
555 5 2 $nohost ? :
586 0 0 $host ? :
588 0 0 $rgts ? :