Branch Coverage

blib/lib/App/TestOnTap/WorkDirManager.pm
Criterion Covered Total %
branch 21 36 58.3


line true false branch
32 0 27 if ($workdir) { }
39 0 0 if -e $workdir
40 0 0 unless mkpath($workdir)
75 0 162 unless mkpath($self->{$p})
99 22 3 $aggregator->all_passed ? :
147 0 25 $App::TestOnTap::WorkDirManager::IS_WINDOWS ? :
23 2 $self->{'orderstrategy'} ? :
151 1 24 if $self->{'preprocess'}
178 0 47 unless open my $h, '>', $tapPath
194 47 0 if ($spool_handle)
217 1 46 $parser->has_problems ? :
47 0 $parser->is_good_plan ? :
0 47 $parser->skip_all ? :
261 1 1 if ($asArchive) { }
267 0 1 if $err != 0
274 0 1 unless dircopy($from, $to)
368 0 147 unless write_file($file, $self->{'json'}->encode($data))
379 0 2 unless write_file($file, @$data)