Branch Coverage

blib/lib/Simulation/Automate/PostProcLib.pm
Criterion Covered Total %
branch 25 86 29.0


line true false branch
82 0 2 @extra_args >= 1 && $extra_args[0] ? :
84 0 2 @extra_args == 2 && $extra_args[1] == 2 ? :
88 1 1 if ($verylastref and $verylastref != 1)
120 0 2 if (exists $synsimdata{'COND'} or exists $synsimdata{'CONDITION'}) { }
138 0 2 $setvar ne '' ? :
151 0 2 if (not -e '/usr/bin/ggv' and -e '/usr/X11R6/bin/gv')
155 2 0 unless $synsimdata{$normvar} and @{$synsimdata{$normvar};}
156 0 2 @{$synsimdata{$normvar};} > 1 ? :
159 2 0 if exists $synsimdata{'XVAR'}
172 1 1 unless ($verylast)
180 56 0 unless $key =~ /^_/
181 0 0 if ($simtitle =~ /$key/)
200 0 2 $synsimdata{'LOGSCALE'} ? :
229 2 0 if $postprocpath =~ /^\./
233 2 0 if (-d '../PLUGINS')
236 0 2 if ($synsimdata{'PREPROCESSOR'} and $plugin =~ /$synsimdata{'PREPROCESSOR'}/ or $synsimdata{'POSTPROCESSOR'} and $plugin =~ /$synsimdata{'POSTPROCESSOR'}/ or $plugin =~ /$synsimdata{'ANATEMPL'}\.pm/)
241 0 2 if (exists $synsimdata{'PREPROCESSOR'})
249 0 2 if ($synsimdata{'ANATEMPL'} ne 'None')
261 0 0 if ($Simulation::Automate::PostProcLib::plot)
315 0 0 if $legendkey eq ''
316 0 0 if $legendvalue eq ''
318 0 0 if $legendkey =~ /_MINUS_/
319 0 0 if $legendvalue =~ /_MINUS_/
336 0 0 if ($firstplotline eq '' and $plotlinetempl eq '')
348 0 0 if ($firstplotline =~ /$plot/ms)
351 0 0 if ($Simulation::Automate::PostProcLib::plot)
360 0 0 if ($Simulation::Automate::PostProcLib::interactive)
372 0 0 if $key =~ /^\d*$/
374 0 0 if ($key =~ /^_/) { }
387 0 0 unless (-e $plot_templ_file)
389 0 0 unless (-e $plot_templ_file)
397 0 0 if (not exists $synsimdata{'XCOL'} || exists $synsimdata{'XVAR'} || exists $synsimdata{'SWEEPVAR'} and ($xcol and not $xcol =~ /\d/))
426 0 0 if ($plot_templ_file)
431 0 0 if /FILENAME/ and $plotlinetempl = $_
461 0 0 if ($plotlinetempl =~ s/(\[[\d\.eE\-\+]*\:[\d\.eE\-\+]*\]\s+)//)
475 0 0 unless (-e "$workingdir/../../Results")
478 0 0 unless (-e "$workingdir/../../Results/$Simulation::Automate::PostProcLib::simtempl")
482 0 0 unless (-e "$workingdir/../../Results/$Simulation::Automate::PostProcLib::simtempl/$Simulation::Automate::PostProcLib::anatempl")
498 0 2 if $legendkey =~ /_MINUS_/
499 0 2 if $legendvalue =~ /_MINUS_/
520 4 76 if $name =~ /^\d*$/
522 0 76 if ($name =~ /^_/) { }
536 0 4 if ($varname =~ /,/) { }