Branch Coverage

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


line true false branch
651 0 0 if ($self->serial)
711 0 0 if not -d $self->outdir
730 0 0 unless my $fh = 'IO::File'->new($self->infile, '<')
740 0 0 if ($self->afterok)
748 0 0 unless $line
749 0 0 unless $line =~ /\S/
752 0 0 if $self->has_batch
753 0 0 if $self->serial
762 0 0 if ($line =~ /^nohup/)
768 0 0 if ($self->cmd_counter > 0 and 0 == $self->cmd_counter % $self->commands_per_node and $self->batch)
774 0 0 if $self->serial
778 0 0 if $line =~ /^#/
780 0 0 if ($self->has_cmd) { }
783 0 0 if ($line =~ /\\$/) { }
796 0 0 if ($line =~ /\\$/) { }
0 0 elsif ($self->match_cmd(qr/^wait$/)) { }
0 0 elsif ($self->match_cmd(qr/^newnode$/)) { }
807 0 0 if $self->has_batch
812 0 0 if $self->has_batch
813 0 0 if $self->serial
819 0 0 if $self->has_cmd
844 0 0 unless $line =~ /^#HPC/
849 0 0 unless ($self->can($t1))
854 0 0 if ($t1) { }
855 0 0 if ($t1 eq 'module') { }
865 0 0 unless $t1
875 0 0 unless $line =~ /^#NOTE/
894 0 0 if $self->first_pass
901 0 0 unless $self->first_pass
919 0 0 unless $self->first_pass
941 0 0 if (exists $href->{'jobnames'}{$self->jobname}) { }
975 0 0 unless $fh = 'IO::File'->new($self->cmdfile, '>')
978 0 0 if defined $fh and defined $self->batch
982 0 0 if ($self->wait)
983 0 0 if $self->jobref->[-2]
989 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)
1008 0 0 if $self->submit_to_slurm
1032 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) { }
1091 0 0 if $metastr
1094 0 0 if $pluginstr
1119 0 0 unless $self->plugins
1122 0 0 if ($plugins)
1123 0 0 if (ref $plugins) { }