Branch Coverage

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


line true false branch
56 0 0 if (open my $stdout_read_fh, "<", $stdout_file)
63 0 0 if (open my $stderr_read_fh, "<", $stderr_file)
79 0 1 unless ($filename)
83 1 0 unless (-e "$filename")
84 0 1 if $ENV{'DEBUG'}
87 0 0 unless open my $fh, "<", $filename
90 0 0 if /^\s*$/
91 0 0 if /^#/
92 0 0 if /^;/
95 0 0 if $key =~ /\s/
106 0 1 if ($? == 0) { }
121 0 0 if defined $has_sinfo
122 0 0 unless (defined $has_sinfo or $can_fail)
127 0 0 if ($? != 0 and not $can_fail)
136 0 0 if ($ENV{'SKIP_SLURM_CHECK'})
143 0 0 if (scalar @input_queues == 0)
148 0 0 unless (grep {$_ eq $input_queue;} @queues)
165 0 0 if ($@)
170 0 0 unless (-e $file_path)
186 0 0 unless defined $tag