Branch Coverage

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


line true false branch
28 0 27 if ($workdir) { }
35 0 0 if -e $workdir
36 0 0 unless mkpath($workdir)
71 0 162 unless mkpath($self->{$p})
95 22 3 $aggregator->all_passed ? :
143 0 25 $App::TestOnTap::WorkDirManager::IS_WINDOWS ? :
23 2 $self->{'orderstrategy'} ? :
147 1 24 if $self->{'preprocess'}
174 0 47 unless open my $h, '>', $tapPath
190 47 0 if ($spool_handle)
213 1 46 $parser->has_problems ? :
47 0 $parser->is_good_plan ? :
0 47 $parser->skip_all ? :
257 1 1 if ($asArchive) { }
263 0 1 if $err != 0
270 0 1 unless dircopy($from, $to)
364 0 147 unless write_file($file, $self->{'json'}->encode($data))
375 0 2 unless write_file($file, @$data)