Branch Coverage

blib/lib/NBI/Slurm.pm
Criterion Covered Total %
branch 4 40 10.0


line true false branch
78 0 0 if (open my $stdout_read_fh, "<", $stdout_file)
85 0 0 if (open my $stderr_read_fh, "<", $stderr_file)
101 0 1 unless ($filename)
105 1 0 unless (-e "$filename")
106 0 1 if $ENV{'DEBUG'}
109 0 0 unless open my $fh, "<", $filename
112 0 0 if /^\s*$/
113 0 0 if /^#/
114 0 0 if /^;/
117 0 0 if $key =~ /\s/
128 0 1 if ($? == 0) { }
143 0 0 if defined $has_sinfo
144 0 0 unless (defined $has_sinfo or $can_fail)
149 0 0 if ($? != 0 and not $can_fail)
158 0 0 if ($ENV{'SKIP_SLURM_CHECK'})
165 0 0 if (scalar @input_queues == 0)
170 0 0 unless (grep {$_ eq $input_queue;} @queues)
187 0 0 if ($@)
192 0 0 unless (-e $file_path)
208 0 0 unless defined $tag