Branch Coverage

blib/lib/App/Pods2Site/Args.pm
Criterion Covered Total %
branch 40 106 37.7


line true false branch
206 0 3 if ($@)
213 0 3 if $rawOpts{'_help'}
217 0 3 if ($rawOpts{'_pp'})
230 0 3 if $rawOpts{'manual'}
231 0 3 if $rawOpts{'help'}
232 0 3 if $rawOpts{'usage'}
233 0 3 if $rawOpts{'version'}
237 0 3 $rawOpts{'quiet'} ? :
244 0 3 unless $sitedir
246 1 2 if (-e $sitedir) { }
253 0 1 unless -d $sitedir
255 0 1 unless $savedOpts
259 1 0 if $self->isVerboseLevel(0)
262 0 7 if exists $rawOpts{$opt}
269 2 0 if $self->isVerboseLevel(0)
276 0 3 unless @bindirs
282 0 3 unless @libdirs
286 0 3 if ($rawOpts{'workdirectory'}) { }
293 0 0 if -e $workdir
294 0 0 unless make_path($workdir)
313 0 6 unless $rawGroupDef =~ /^([^=]*)=(.+)/s
315 0 6 if $groupsSeen{$name}
319 0 6 if $@
326 0 3 if ($rawOpts{'css'})
329 0 0 unless -f $css
355 2 1 if ($self->{'newsitedir'})
369 0 3 if ($sitedir and $sitedir eq ':std')
371 0 0 if $App::Pods2Site::Args::IS_PACKED
383 3 0 $groupDefs && @$groupDefs ? :
387 0 6 if ($newDefs[$ndx] =~ /^:/) { }
406 0 0 if ($internal eq ':std') { }
0 0 elsif ($internal eq ':std-core') { }
0 0 elsif ($internal eq ':std-scripts') { }
0 0 elsif ($internal eq ':std-pragmas') { }
0 0 elsif ($internal eq ':std-modules') { }
480 3 0 if (defined $argLocs) { }
484 3 0 if (defined $loc and length $loc > 0)
486 0 3 if ($loc eq ':std') { }
0 3 elsif ($loc eq ':path') { }
0 3 elsif ($loc eq ':none') { }
500 3 0 if -d $loc
547 3 0 if (defined $argLocs) { }
551 3 0 if (defined $loc and length $loc > 0)
553 0 3 if ($loc eq ':std') { }
0 3 elsif ($loc eq ':inc') { }
0 3 elsif ($loc eq ':none') { }
567 3 0 if -d $loc
615 0 0 if (defined $cfgloc and length $cfgloc > 0 and -d $cfgloc)
635 0 0 if $App::Pods2Site::Args::IS_PACKED
638 0 0 if $@
640 0 0 $App::Pods2Site::Args::IS_WINDOWS ? :
642 0 0 $App::Pods2Site::Args::IS_WINDOWS ? :
645 0 0 $_ ne '.' ? :