Branch Coverage

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


line true false branch
136 0 0 unless ('Log::Log4perl'->initialized)
146 0 0 if $self->{'junit'}
147 0 0 if $self->{'cover'}
157 0 0 if $self->{'cover'}
159 0 0 if $self->{'cover'}
160 0 0 if $self->{'tar'}
175 0 0 unless &Test::Harness::KS::chdir($self->{'resultsDir'})
181 0 0 unless $self->{'oldWorkingDir'}
188 0 0 unless -d $self->{'testResultsDir'}
189 0 0 if -e $self->{'junitDir'}
190 0 0 if -e $self->{'coverDir'}
191 0 0 if -e $self->{'dbDiffDir'}
192 0 0 unless -d $self->{'junitDir'}
193 0 0 unless -d $self->{'coverDir'}
194 0 0 unless -d $self->{'dbDiffDir'}
195 0 0 if -e $self->{'testResultsArchive'}
255 0 0 if $self->{'junit'}
256 0 0 if $self->{'cover'}
273 0 0 if ($self->{'isDbDiff'})
279 0 0 unless (scalar @tests)
291 0 0 if $self->{'cover'}
296 0 0 if ($self->{'dryRun'}) { }
301 0 0 if ($self->{'junit'}) { }
311 0 0 if $self->{'isDbDiff'}
326 0 0 if $self->{'isDbDiff'}
355 0 0 unless (defined $user)
358 0 0 unless (defined $host)
361 0 0 unless (defined $port)
364 0 0 unless (defined $db)
370 0 0 unless (-e $path)
381 0 0 if defined $pass
383 0 0 if ($sock)
390 0 0 unless ($test and -e "$path/previous.sql")
393 0 0 unless defined $test
405 0 0 if ($diff = $@)
410 0 0 if ($self->{'dbDiffIgnoreTables'})
412 0 0 if (grep /$table/u, @tables)
417 0 0 if (@tables)
418 0 0 if ($params->{'parser'})
440 0 0 unless (ref $files eq 'ARRAY')
443 0 0 unless (scalar @$files)
455 0 0 unless $dirsWithFiles{$dir}
480 0 0 if (ref $parser eq 'TAP::Harness::JUnit::Parser')
509 0 0 unless my $programPath = IPC::Cmd::can_run($program)
512 0 0 if ($self->{'dryRun'}) { }
521 0 0 $coreDumpTriggered ? :
0 0 if $exitCode != 0
546 0 9 unless ($f =~ /\.t\b/u)
547 0 0 unless -d $f
551 0 1 if (@warnings)
552 0 0 if @warnings
572 0 0 unless defined $maxDepth