line |
true |
false |
branch |
43
|
0 |
1 |
if ($remotehost) { } |
62
|
0 |
1 |
if $verbose |
73
|
1 |
0 |
if (&execute_loop($datafile, $dataset, $simref, \@flags)) |
76
|
0 |
1 |
if ($dataset ne 'synsim') { } |
95
|
0 |
1 |
if (@ARGV) { } |
98
|
0 |
0 |
if (/-f/) |
99
|
0 |
0 |
if ($dtf == 1) |
102
|
0 |
0 |
if (/-b/) |
103
|
0 |
0 |
if (/-i/) |
104
|
0 |
0 |
if (/-N/) |
105
|
0 |
0 |
if (/-p/) |
106
|
0 |
0 |
if (/-v/) |
107
|
0 |
0 |
if (/-w/) |
108
|
0 |
0 |
if (/-P/) |
109
|
0 |
0 |
if (/-A/) |
110
|
0 |
0 |
if (/-D/) |
111
|
0 |
0 |
unless -d 'TEMPLATES' |
112
|
0 |
0 |
unless -d 'TEMPLATES/SIMTYPES' |
113
|
0 |
0 |
unless -d 'TEMPLATES/DEVTYPES' |
114
|
0 |
0 |
unless -d 'SOURCES' |
115
|
0 |
0 |
unless -d 'PLUGINS' |
118
|
0 |
0 |
if (/-h|-\?/) |
149
|
0 |
0 |
if ($list_postprocessors) |
154
|
0 |
0 |
if (-e '../Simulation/Automate.pm') { } |
167
|
0 |
0 |
if ($key =~ /^[A-Z]+[a-z]+/) |
174
|
0 |
0 |
if ($default) |
176
|
0 |
0 |
unless ($test =~ /^\-/) |
183
|
0 |
0 |
if ($default) |
184
|
0 |
0 |
if $verbose |
187
|
0 |
1 |
if $verbose |
190
|
0 |
1 |
unless (-e './TEMPLATES' and -d './TEMPLATES' and -e "./$datafile") |
198
|
0 |
1 |
if ($justplot) |
211
|
0 |
0 |
if (not -e '/usr/bin/ggv' and -e '/usr/X11R6/bin/gv') |
278
|
0 |
1 |
exists $data{$sim}{'NRUNS'} ? : |
279
|
0 |
1 |
if ($nruns > 1) |
321
|
2 |
0 |
unless $par =~ /^\_/ |
328
|
0 |
0 |
if (exists $data{$sim}{'CONDVAR'}) |
333
|
0 |
0 |
if (not $conditional and exists $data{$sim}{'XVAR'} && $par eq $data{$sim}{'XVAR'} || exists $data{$sim}{'SWEEPVAR'} && $par eq $data{$sim}{'SWEEPVAR'} or $conditional and $par eq $data{$sim}{'CONDVAR'}) |
344
|
0 |
0 |
if (exists $grouped{$par}) |
347
|
0 |
0 |
if ($grouped{$gpar} eq $leader) |
357
|
2 |
0 |
unless ($data{$sim}{$par} =~ /,/) |
387
|
0 |
2 |
if ($par =~ /^_/ and not $prevkey =~ /^_/) |
399
|
2 |
0 |
unless ($data{$sim}{$par} =~ /,/) |
400
|
0 |
2 |
if ($data{$sim}{$par} =~ /(\d+)\s*\.\.\s*(\d+)/) { } |
|
0 |
2 |
elsif ($data{$sim}{$par} =~ /;/) { } |
416
|
0 |
0 |
if ($tmps >= $nsims) |
424
|
0 |
2 |
if ($par =~ /^_/) { } |
449
|
0 |
2 |
if ($data{$sim}{$par} =~ /,/) |
455
|
0 |
0 |
if (exists $grouped{$par}) { } |
456
|
0 |
0 |
if ($grouped{$par} eq $par) |
459
|
0 |
0 |
if ($grouped{$var} eq $leader) |
470
|
0 |
0 |
if $var eq $par |
471
|
0 |
0 |
if ($grouped{$var} eq $leader) |
509
|
0 |
2 |
if ($data{$sim}{$par} =~ /,/) |
567
|
0 |
2 |
if ($data{$sim}{$par} =~ /,/) |
568
|
0 |
0 |
if (not exists $grouped{$par} or exists $grouped{$par} and $grouped{$par} eq $par) |
592
|
0 |
1 |
if $verbose |
619
|
0 |
3 |
if (/^\s*_/) { } |
|
3 |
0 |
elsif (/:/) { } |
624
|
0 |
0 |
if $line =~ s/^([A-Z0-9_]+)?\s*=\s*// |
629
|
0 |
0 |
unless $line[1] =~ /[a-zA-Z]/ |
636
|
3 |
0 |
if $line =~ s/^([A-Z0-9_]+)?\s*\:\s*// |
664
|
0 |
1 |
unless open DATA, "<$datafile" |
668
|
0 |
3 |
if /^\s*\#/ |
669
|
0 |
3 |
if /^\s*$/ |
672
|
0 |
3 |
if (/INCL.*\s*:/) |
676
|
0 |
0 |
$incl =~ /[,;]/ ? : |
678
|
0 |
0 |
unless open INCL, "<$inclf" |
680
|
0 |
0 |
if $incl =~ /^\s*\#/ |
681
|
0 |
0 |
if $incl =~ /^\s*$/ |
684
|
0 |
0 |
if ($incl =~ /:/) |
692
|
1 |
2 |
if (/SIM(TYPE|NAME|ULATION|TEMPL)|\bTEMPLATE\s*:/) { } |
|
0 |
2 |
elsif (/$simpatt/) { } |
|
0 |
2 |
elsif (/^\s*[a-zA-Z]/ and not /:/) { } |
705
|
0 |
1 |
if ($ext and $ext =~ /^\./) |
720
|
0 |
3 |
if (/^\s*GROUP\s*:\s*([\_A-Z0-9\,\;\s]+)$/) |
737
|
0 |
3 |
if ($simpart) { } |
|
3 |
0 |
elsif (not $skip) { } |
761
|
0 |
2 |
$list =~ /;/ ? : |
764
|
0 |
2 |
if (@list == 3 and not $list =~ /[a-zA-Z]/) |
765
|
0 |
0 |
if ($list[0] < $list[1] && $list[2] > 0 || $list[0] > $list[1] && $list[2] < 0 and abs $list[2] < abs $list[1] - $list[0]) |
807
|
1 |
0 |
if ($commandline) |
814
|
1 |
0 |
$commandline ? : |
822
|
1 |
0 |
if (-e $dirname and -d $dirname) |
823
|
1 |
0 |
if ($nosims == 0) { } |
824
|
0 |
1 |
if $verbose |
825
|
0 |
1 |
if ($verbose) { } |
831
|
0 |
0 |
if $verbose |
832
|
0 |
0 |
if ($verbose) { } |
841
|
0 |
1 |
if (not -e "TEMPLATES/SIMTYPES/$sim$templ" || -e "TEMPLATES/$sim$templ") { } |
848
|
0 |
1 |
if (-e "TEMPLATES/$sim$templ" and not -l "TEMPLATES/SIMTYPES/$sim$templ") |
853
|
1 |
0 |
if (-e "TEMPLATES/SIMTYPES/$sim$templ") { } |
858
|
0 |
1 |
if ($dev) |
859
|
0 |
0 |
if (-e "TEMPLATES/DEVTYPES/$dev$templ") { } |
862
|
0 |
0 |
if $verbose |
866
|
1 |
0 |
if (-d 'SOURCES') |
867
|
0 |
1 |
if (glob 'SOURCES/' . $sim . '*') |
871
|
0 |
1 |
if (-e "SOURCES/$maybe_file" and not -e "$dirname/$maybe_file") |
877
|
0 |
1 |
if $verbose |
878
|
0 |
1 |
if $verbose |
879
|
0 |
1 |
if $verbose |
880
|
0 |
1 |
if $verbose |
942
|
0 |
1 |
if $verbose |
953
|
4 |
0 |
unless $key =~ /^_/ |
954
|
0 |
0 |
if ($simtitle =~ /$key/) |
958
|
0 |
0 |
if ($ndata > 1) |
978
|
1 |
0 |
if ($nsims == 1) { } |
980
|
0 |
0 |
if ($simn == 1) |
981
|
0 |
0 |
if $verbose |
983
|
0 |
0 |
if $verbose |
985
|
0 |
0 |
if $verbose |
988
|
0 |
0 |
if $verbose |
991
|
0 |
0 |
if $verbose |
1007
|
1 |
1 |
if ($type) |
1008
|
1 |
0 |
$simn eq '' ? : |
1014
|
1 |
0 |
if ($nosims == 0) |
1015
|
0 |
1 |
if ($verbose) { } |
1016
|
0 |
0 |
if (not defined($simpid = fork)) { } |
|
0 |
0 |
elsif ($simpid == 0) { } |
1030
|
0 |
1 |
if $verbose |
1035
|
6 |
0 |
if (/$output_filter_pattern/) |
1041
|
0 |
1 |
unless ($ppid) |
1042
|
0 |
0 |
unless close SIM |
1044
|
0 |
1 |
if $verbose |
1047
|
0 |
1 |
if ($nsims > 1) |
1052
|
0 |
1 |
$nsims > 1 ? : |
1056
|
1 |
0 |
if ($another) |
1069
|
1 |
0 |
if ($nosims == 0) |
1072
|
1 |
0 |
if ($results[0] =~ /${simtype}_C\d+.*\.out/) |
1111
|
4 |
0 |
unless ($key =~ /^_/) |
1112
|
0 |
4 |
if ($simdata{$key} =~ /^_/) |
1119
|
0 |
0 |
if (@{$simdata{$key};} == 1) |
1128
|
0 |
1 |
unless open TEMPL, "<$templfilename" |
1131
|
68 |
0 |
unless $key =~ /^_/ |
1133
|
0 |
0 |
if ($ndata > 1) { } |
1134
|
0 |
0 |
if ($line =~ s/$key(?!\w)/$simdata{$key}[$nsim]/g) |
1150
|
0 |
0 |
if $warn |
1177
|
0 |
0 |
if ($expr =~ /(_[A-Z_]+)/) |
1185
|
0 |
0 |
if $maybevar =~ /_[A-Z]+/ |
1188
|
0 |
0 |
@{$simdata{$var};} == 1 ? : |
1211
|
0 |
0 |
unless ($synsimroot) |
1212
|
0 |
0 |
unless ($synsimroot =~ m[^/]) |
1217
|
0 |
0 |
unless (-d "$synsimroot") |
1225
|
0 |
0 |
unless ($project) |
1234
|
0 |
0 |
if (-d 'eg') |
1235
|
0 |
0 |
if (-e 'eg/synsim') |
1238
|
0 |
0 |
if (-e 'eg/synsim.data') |
1242
|
0 |
0 |
if (-e 'eg/TEMPLATES/test.templ') |
1259
|
0 |
0 |
unless ($synsimroot) |
1263
|
0 |
0 |
unless ($synsimroot) |
1265
|
0 |
0 |
unless (-d "$synsimroot") |
1269
|
0 |
0 |
unless (-d "$synsimroot/Simulation") |
1272
|
0 |
0 |
unless (-d "$synsimroot/Simulation") |
1275
|
0 |
0 |
unless (-d "$synsimroot/Simulation/Automate") |
1278
|
0 |
0 |
if (-d 'Automate') |
1280
|
0 |
0 |
if (-e "Automate/$module.pm") |
1284
|
0 |
0 |
if ($full) |
1286
|
0 |
0 |
if (-e "Automate/$module.pm") |
1290
|
0 |
0 |
if (-e 'Automate.pm') |