Branch Coverage

blib/lib/App/TestOnTap/Args.pm
Criterion Covered Total %
branch 40 86 46.5


line true false branch
123 0 29 if ($@)
136 0 29 if $rawOpts{'_help'}
143 0 87 if $opt =~ /^_pp(_.+)?/ and $rawOpts{$opt}
145 0 29 if (keys %packHelperOpts)
161 0 29 if $rawOpts{'manual'}
162 0 29 if $rawOpts{'help'}
163 0 29 if $rawOpts{'usage'}
164 0 29 if $rawOpts{'version'}
170 3 26 if (defined $rawOpts{'skip'} or defined $rawOpts{'include'})
172 1 2 if defined $rawOpts{'skip'} and defined $rawOpts{'include'}
173 1 1 if ($rawOpts{'skip'}) { }
190 1 28 if ($@)
200 0 28 $App::TestOnTap::Args::IS_WINDOWS ? :
0 28 $ENV{'_TESTONTAP_MAX_JOBS'} ? :
204 0 28 if ($rawOpts{'jobs'} > $maxJobs)
209 0 28 if $rawOpts{'jobs'} < 1
214 4 24 if $rawOpts{'order'}
218 2 26 if (defined $rawOpts{'savedirectory'} or $rawOpts{'archive'})
223 0 2 if -e $self->{'savedirectory'} and not -d $self->{'savedirectory'}
224 0 2 unless (-e $self->{'savedirectory'})
226 0 0 unless mkpath($self->{'savedirectory'})
229 0 2 if ($@)
240 0 28 unless @argv
243 0 28 if ($@)
255 1 27 if ($@)
267 0 27 if ($@)
275 1 26 if ($self->{'jobs'} > 1 and not $self->{'config'}->hasParallelizableRule)
287 2 25 $rawOpts{'workdirectory'} || $rawOpts{'savedirectory'} || $rawOpts{'archive'} ? :
0 27 defined $rawOpts{'merge'} ? :
420 2 24 $self->{'include'} ? :
432 28 0 if (-d $suiteroot) { }
438 0 0 unless $suiteroot =~ /\.zip$/i
442 0 0 unless (-f $suiteroot)
448 0 0 if $self->{'v'}
452 0 0 if ($response->is_error or not -f $localzip)
460 0 0 if $self->{'v'}
464 0 0 if $zipErr
466 0 0 unless @memberNames
468 0 0 if scalar @rootEntries > 1
470 0 0 unless $testSuiteDir =~ m[/$]
472 0 0 unless grep /^\Q$cfgFile\E$/, @memberNames
473 0 0 unless $zip->extractTree('', $tmpdir) == 0
475 0 0 if $self->{'v'}