line |
true |
false |
branch |
23
|
104 |
0 |
if (substr($_[0], 0, 1) eq "-") |
27
|
104 |
204 |
if ($i =~ /^-name/u) { } |
|
103 |
101 |
elsif ($i =~ /^-command$/u) { } |
|
101 |
0 |
elsif ($i =~ /^-opts$/u) { } |
|
0 |
0 |
elsif ($i =~ /^-commands$/u) { } |
33
|
101 |
0 |
if ($data{$i}->isa('NBI::Opts')) { } |
43
|
0 |
0 |
if (ref $data{$i} eq 'ARRAY') { } |
57
|
104 |
0 |
defined $job_name ? : |
61
|
0 |
104 |
if (defined $commands_array) { } |
|
103 |
1 |
elsif (defined $command) { } |
63
|
0 |
0 |
if (defined $command) |
71
|
101 |
3 |
if (defined $opts) { } |
73
|
101 |
0 |
if ($opts->isa('NBI::Opts')) { } |
92
|
0 |
406 |
if defined $new_val |
99
|
0 |
0 |
if (defined $new_val and not $new_val =~ /^-?(\d+)$/u) |
102
|
0 |
0 |
if defined $new_val |
109
|
0 |
202 |
if defined $new_val |
110
|
101 |
101 |
if (not defined $self->{'output_file'}) { } |
120
|
0 |
202 |
if defined $new_val |
121
|
101 |
101 |
if (not defined $self->{'error_file'}) { } |
151
|
1 |
0 |
if ($opts->isa('NBI::Opts')) { } |
207
|
0 |
0 |
unless (defined $self->opts->queue) |
211
|
0 |
0 |
unless (defined $self->opts) |
215
|
0 |
0 |
if ($self->commands_count == 0) |
224
|
0 |
0 |
unless open my $fh, ">", $script_file |
230
|
0 |
0 |
if (_has_command("sbatch") == 0) |
237
|
0 |
0 |
if ($job_output =~ /Submitted batch job (\d+)/u) { } |
255
|
0 |
0 |
if ($^O eq 'MSWin32') { } |