Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
152 1 0 0 $ENV{'SGE_ROOT'} and -e $ENV{'SGE_ROOT'}
205 2 17 18 defined $key and defined $value
538 0 0 0 $j->{'thread'} and not $j->{'thread'}->is_joinable
613 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
259 2 0 $settings{'numcpus'} ||= 1
260 0 2 $settings{'timeout'} ||= 60
454 0 0 $jobid ||= 0
593 0 0 $job->[$i]{'jobid'} ||= 0
633 0 2 $job->{'jobid'} || (return 0)
646 0 0 $settings ||= {}

or 3 conditions

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