| line |
true |
false |
branch |
|
23
|
105 |
0 |
if (substr($_[0], 0, 1) eq "-") |
|
27
|
105 |
206 |
if ($i =~ /^-name/u) { } |
|
|
104 |
102 |
elsif ($i =~ /^-command$/u) { } |
|
|
102 |
0 |
elsif ($i =~ /^-opts$/u) { } |
|
|
0 |
0 |
elsif ($i =~ /^-commands$/u) { } |
|
33
|
102 |
0 |
if ($data{$i}->isa('NBI::Opts')) { } |
|
43
|
0 |
0 |
if (ref $data{$i} eq 'ARRAY') { } |
|
57
|
105 |
0 |
defined $job_name ? : |
|
61
|
0 |
105 |
if (defined $commands_array) { } |
|
|
104 |
1 |
elsif (defined $command) { } |
|
63
|
0 |
0 |
if (defined $command) |
|
71
|
102 |
3 |
if (defined $opts) { } |
|
73
|
102 |
0 |
if ($opts->isa('NBI::Opts')) { } |
|
90
|
1 |
104 |
if ($self->opts->is_array) |
|
97
|
1 |
0 |
if ($cmd =~ $self->opts->placeholder) |
|
111
|
0 |
0 |
if defined $new_val |
|
118
|
0 |
409 |
if defined $new_val |
|
125
|
0 |
0 |
if (defined $new_val and not $new_val =~ /^-?(\d+)$/u) |
|
128
|
0 |
0 |
if defined $new_val |
|
137
|
0 |
203 |
if (defined $parameter) |
|
138
|
0 |
0 |
if ($parameter eq '-interpolate') { } |
|
146
|
102 |
101 |
unless (defined $self->{'output_file'}) |
|
150
|
0 |
203 |
if ($interpolate) { } |
|
166
|
0 |
203 |
if (defined $parameter) |
|
167
|
0 |
0 |
if ($parameter eq '-interpolate') { } |
|
175
|
102 |
101 |
unless (defined $self->{'error_file'}) |
|
179
|
0 |
203 |
if ($interpolate) { } |
|
191
|
0 |
1 |
if ($self->opts->is_array) |
|
200
|
0 |
0 |
if ($self->opts->is_array) |
|
220
|
1 |
0 |
if ($opts->isa('NBI::Opts')) { } |
|
264
|
1 |
202 |
if ($self->opts->is_array) |
|
283
|
1 |
202 |
if ($self->opts->is_array) |
|
287
|
1 |
3 |
if ($cmd =~ /\$\{selected_file\}/u) |
|
292
|
0 |
1 |
if ($selected_file == 0) |
|
307
|
0 |
0 |
unless (defined $self->opts->queue) |
|
311
|
0 |
0 |
unless (defined $self->opts) |
|
315
|
0 |
0 |
if ($self->commands_count == 0) |
|
326
|
0 |
0 |
if (-e $script_file) |
|
336
|
0 |
0 |
unless open my $fh, ">", $script_file |
|
342
|
0 |
0 |
if (_has_command("sbatch") == 0) |
|
349
|
0 |
0 |
if ($job_output =~ /Submitted batch job (\d+)/u) { } |
|
382
|
0 |
0 |
if ($^O eq 'MSWin32') { } |