Branch Coverage

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


line true false branch
127 0 29 if ($@)
140 0 29 if $rawOpts{'_help'}
147 0 87 if $opt =~ /^_pp(_.+)?/ and $rawOpts{$opt}
149 0 29 if (keys %packHelperOpts)
165 0 29 if $rawOpts{'manual'}
166 0 29 if $rawOpts{'help'}
167 0 29 if $rawOpts{'usage'}
168 0 29 if $rawOpts{'version'}
174 3 26 if (defined $rawOpts{'skip'} or defined $rawOpts{'include'})
176 1 2 if defined $rawOpts{'skip'} and defined $rawOpts{'include'}
177 1 1 if ($rawOpts{'skip'}) { }
194 1 28 if ($@)
204 0 28 $App::TestOnTap::Args::IS_WINDOWS ? :
0 28 $ENV{'_TESTONTAP_MAX_JOBS'} ? :
208 0 28 if ($rawOpts{'jobs'} > $maxJobs)
213 0 28 if $rawOpts{'jobs'} < 1
218 4 24 if $rawOpts{'order'}
222 2 26 if (defined $rawOpts{'savedirectory'} or $rawOpts{'archive'})
227 0 2 if -e $self->{'savedirectory'} and not -d $self->{'savedirectory'}
228 0 2 unless (-e $self->{'savedirectory'})
230 0 0 unless mkpath($self->{'savedirectory'})
233 0 2 if ($@)
244 0 28 unless @argv
247 0 28 if ($@)
259 1 27 if ($@)
271 0 27 if ($@)
279 1 26 if ($self->{'jobs'} > 1 and not $self->{'config'}->hasParallelizableRule)
291 2 25 $rawOpts{'workdirectory'} || $rawOpts{'savedirectory'} || $rawOpts{'archive'} ? :
0 27 defined $rawOpts{'merge'} ? :
424 2 24 $self->{'include'} ? :
436 28 0 if (-d $suiteroot) { }
442 0 0 unless $suiteroot =~ /\.zip$/i
446 0 0 unless (-f $suiteroot)
452 0 0 if $self->{'v'}
456 0 0 if ($response->is_error or not -f $localzip)
464 0 0 if $self->{'v'}
468 0 0 if $zipErr
470 0 0 unless @memberNames
472 0 0 if scalar @rootEntries > 1
474 0 0 unless $testSuiteDir =~ m[/$]
476 0 0 unless grep /^\Q$cfgFile\E$/, @memberNames
477 0 0 unless $zip->extractTree('', $tmpdir) == 0
479 0 0 if $self->{'v'}