Branch Coverage

lib/Test/Harness/KS.pm
Criterion Covered Total %
branch 2 104 1.9


line true false branch
143 0 0 unless ('Log::Log4perl'->initialized)
153 0 0 if $self->{'junit'}
154 0 0 if $self->{'cover'}
172 0 0 if $self->{'cover'}
174 0 0 if $self->{'cover'}
175 0 0 if $self->{'tar'}
183 0 0 unless &Test::Harness::KS::chdir($self->{'resultsDir'})
189 0 0 unless $self->{'oldWorkingDir'}
196 0 0 unless -d $self->{'testResultsDir'}
197 0 0 if -e $self->{'junitDir'}
198 0 0 if -e $self->{'coverDir'}
199 0 0 if -e $self->{'dbDiffDir'}
200 0 0 unless -d $self->{'junitDir'}
201 0 0 unless -d $self->{'coverDir'}
202 0 0 unless -d $self->{'dbDiffDir'}
203 0 0 if -e $self->{'testResultsArchive'}
247 0 0 if $self->{'junit'}
248 0 0 if $self->{'cover'}
262 0 0 if ($self->{'isDbDiff'})
268 0 0 unless (scalar @tests)
280 0 0 if $self->{'cover'}
285 0 0 if ($self->{'dryRun'}) { }
290 0 0 if ($self->{'junit'}) { }
300 0 0 if $self->{'isDbDiff'}
315 0 0 if $self->{'isDbDiff'}
344 0 0 unless (defined $user)
347 0 0 unless (defined $host)
350 0 0 unless (defined $port)
353 0 0 unless (defined $db)
359 0 0 unless (-e $path)
370 0 0 if defined $pass
372 0 0 if ($sock)
379 0 0 unless ($test and -e "$path/previous.sql")
382 0 0 unless defined $test
394 0 0 if ($diff = $@)
399 0 0 if ($self->{'dbDiffIgnoreTables'})
401 0 0 if (grep /$table/u, @tables)
406 0 0 if (@tables)
407 0 0 if ($params->{'parser'})
429 0 0 unless (ref $files eq 'ARRAY')
432 0 0 unless (scalar @$files)
444 0 0 unless $dirsWithFiles{$dir}
466 0 0 if (ref $parser eq 'TAP::Harness::JUnit::Parser')
495 0 0 unless my $programPath = IPC::Cmd::can_run($program)
498 0 0 if ($self->{'dryRun'}) { }
507 0 0 $coreDumpTriggered ? :
0 0 if $exitCode != 0
551 0 9 unless ($f =~ /\.t\b/u)
552 0 0 unless -d $f
556 0 1 if (@warnings)
557 0 0 if @warnings
577 0 0 unless defined $maxDepth