Condition Coverage

lib/Schedule/SGELK.pm
Criterion Covered Total %
condition 9 33 27.2


and 3 conditions

line !l l&&!r l&&r condition
156 1 0 0 $ENV{'SGE_ROOT'} and -e $ENV{'SGE_ROOT'}
209 2 17 18 defined $key and defined $value
543 0 0 0 $j->{'thread'} and not $j->{'thread'}->is_joinable
618 0 0 0 not $settings{'mustfinish'} and @$job < $settings{'numnodes'}
0 0 0 not $settings{'mustfinish'} and @$job < $settings{'numnodes'} and $numSlots < $settings{'maxslots'}

or 2 conditions

line l !l condition
264 2 0 $settings{'numcpus'} ||= 1
265 0 2 $settings{'timeout'} ||= 60
459 0 0 $jobid ||= 0
598 0 0 $job->[$i]{'jobid'} ||= 0
638 0 2 $job->{'jobid'} || (return 0)
651 0 0 $settings ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
262 0 2 0 $settings{'jobname'} ||= "sgelk$0"
263 0 2 0 $settings{'logfile'} ||= "$0.log"