Branch Coverage

blib/lib/HPC/Runner/Scheduler.pm
Criterion Covered Total %
branch 0 92 0.0


line true false branch
686 0 0 if ($self->serial)
746 0 0 if not -d $self->outdir
765 0 0 unless my $fh = 'IO::File'->new($self->infile, '<')
775 0 0 if ($self->afterok)
783 0 0 unless $line
784 0 0 unless $line =~ /\S/
787 0 0 if $self->has_batch
788 0 0 if $self->serial
797 0 0 if ($line =~ /^nohup/)
803 0 0 if ($self->cmd_counter > 0 and 0 == $self->cmd_counter % $self->commands_per_node and $self->batch)
809 0 0 if $self->serial
813 0 0 if $line =~ /^#/
815 0 0 if ($self->has_cmd) { }
818 0 0 if ($line =~ /\\$/) { }
831 0 0 if ($line =~ /\\$/) { }
0 0 elsif ($self->match_cmd(qr/^wait$/)) { }
0 0 elsif ($self->match_cmd(qr/^newnode$/)) { }
842 0 0 if $self->has_batch
847 0 0 if $self->has_batch
848 0 0 if $self->serial
854 0 0 if $self->has_cmd
879 0 0 unless $line =~ /^#HPC/
884 0 0 unless ($self->can($t1))
889 0 0 if ($t1) { }
890 0 0 if ($t1 eq 'module') { }
900 0 0 unless $t1
910 0 0 unless $line =~ /^#NOTE/
929 0 0 if $self->first_pass
936 0 0 unless $self->first_pass
954 0 0 unless $self->first_pass
976 0 0 if (exists $href->{'jobnames'}{$self->jobname}) { }
1010 0 0 unless $fh = 'IO::File'->new($self->cmdfile, '>')
1013 0 0 if defined $fh and defined $self->batch
1017 0 0 if ($self->wait)
1018 0 0 if $self->jobref->[-2]
1024 0 0 unless $self->template->process($self->template_file, {'JOBNAME', $counter . '_' . $self->jobname, 'USER', $self->user, 'CPU', $self->cpus_per_task, 'PARTITION', $self->partition, 'AFTEROK', $ok, 'OUT', $self->logdir . "/$counter" . '_' . $self->jobname . '.log', 'MODULE', $self->module, 'self', $self, 'COMMAND', $command}, $self->slurmfile)
1043 0 0 if $self->submit_to_slurm
1067 0 0 if ($self->has_custom_command) { }
0 0 elsif ($self->use_gnuparallel) { }
0 0 elsif ($self->use_threads) { }
0 0 elsif ($self->use_processes) { }
1126 0 0 if $metastr
1129 0 0 if $pluginstr
1154 0 0 unless $self->plugins
1157 0 0 if ($plugins)
1158 0 0 if (ref $plugins) { }