Branch Coverage

blib/lib/App/Pods2Site/Args.pm
Criterion Covered Total %
branch 41 108 37.9


line true false branch
190 0 3 if ($@)
197 0 3 if $rawOpts{'_help'}
201 0 3 if ($rawOpts{'_pp'})
214 0 3 if $rawOpts{'manual'}
215 0 3 if $rawOpts{'help'}
216 0 3 if $rawOpts{'usage'}
217 0 3 if $rawOpts{'version'}
221 0 3 $rawOpts{'quiet'} ? :
228 0 3 unless $sitedir
230 1 2 if (-e $sitedir) { }
237 0 1 unless -d $sitedir
239 0 1 unless $savedOpts
243 1 0 if $self->isVerboseLevel(0)
246 0 6 if exists $rawOpts{$opt}
253 2 0 if $self->isVerboseLevel(0)
259 0 3 unless @bindirs
265 0 3 unless @libdirs
269 0 3 if ($rawOpts{'workdirectory'}) { }
276 0 0 if -e $workdir
277 0 0 unless make_path($workdir)
296 0 6 unless $rawGroupDef =~ /^([^=]+)=(.+)/s
298 0 6 if $groupsSeen{$name}
302 0 6 if $@
309 0 3 if ($rawOpts{'css'})
312 0 0 unless -f $css
326 2 1 if ($newSiteDir)
330 0 2 unless make_path($sitedir)
343 0 3 if ($sitedir and $sitedir eq ':std')
345 0 0 if $App::Pods2Site::Args::IS_PACKED
357 3 0 $groupDefs && @$groupDefs ? :
361 0 6 if ($newDefs[$ndx] =~ /^:/) { }
380 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') { }
454 3 0 if (defined $argLocs) { }
458 3 0 if (defined $loc and length $loc > 0)
460 0 3 if ($loc eq ':std') { }
0 3 elsif ($loc eq ':path') { }
0 3 elsif ($loc eq ':none') { }
474 3 0 if -d $loc
521 3 0 if (defined $argLocs) { }
525 3 0 if (defined $loc and length $loc > 0)
527 0 3 if ($loc eq ':std') { }
0 3 elsif ($loc eq ':inc') { }
0 3 elsif ($loc eq ':none') { }
541 3 0 if -d $loc
589 0 0 if (defined $cfgloc and length $cfgloc > 0 and -d $cfgloc)
609 0 0 if $App::Pods2Site::Args::IS_PACKED
612 0 0 if $@
614 0 0 $App::Pods2Site::Args::IS_WINDOWS ? :
616 0 0 $App::Pods2Site::Args::IS_WINDOWS ? :
619 0 0 $_ ne '.' ? :