Condition Coverage

blib/lib/Parallel/Mpich/MPD.pm
Criterion Covered Total %
condition 20 66 30.3


and 3 conditions

line !l l&&!r l&&r condition
393 0 0 0 defined $hosts{$_} and $hosts{$_} == 1
397 0 0 0 defined $params{'reboot'} and $params{'reboot'} == 1
405 0 0 0 defined $should_resize and defined $params{'reboot'}
0 0 0 defined $should_resize and defined $params{'reboot'} and $params{'reboot'} == 1
424 0 0 0 defined $params{'reboot'} and $params{'reboot'} == 1
505 0 0 0 defined $params{'machinesfile'} and -e $params{'machinesfile'}
520 0 0 0 defined $hosts{$_} and $hosts{$_} == 1
554 0 0 0 not isJobRegistered($alias) and $TIMEOUT < 10000
586 0 0 0 defined $params{'ncpu'} and "$inputfile" eq "$machinesfile"
612 0 0 0 defined $params{'spawn'} and defined $params{'alias'}
697 0 63 3 defined $j->jobid and $criteria{'jobid'}{$j->jobid}
0 59 4 defined $j->jobalias and $criteria{'jobalias'}{$j->jobalias}
0 47 12 defined $j->username and $criteria{'username'}{$j->username}
704 6 1 6 $criteria{'return'} and $criteria{'return'} eq 'getone'
6 0 1 $criteria{'return'} and $criteria{'return'} eq 'host2pidlist'
742 0 0 0 defined $params{'hosts'} and $jobret == 0

or 3 conditions

line l !l&&r !l&&!r condition
474 5 9 0 $$cached_all_jobs{$$data{'jobid'}} ||= 'Parallel::Mpich::MPD::Job'->new('jobid', $$data{'jobid'})
697 3 0 63 defined $j->jobid and $criteria{'jobid'}{$j->jobid} or defined $j->jobalias and $criteria{'jobalias'}{$j->jobalias}
4 0 59 defined $j->jobid and $criteria{'jobid'}{$j->jobid} or defined $j->jobalias and $criteria{'jobalias'}{$j->jobalias} or defined $j->username and $criteria{'username'}{$j->username}
719 1 0 0 $criteria{'jobid'} || join('|', keys %{$criteria{'jobid'};})
1 0 0 $criteria{'jobalias'} || join('|', keys %{$criteria{'jobalias'};})
1 0 0 $criteria{'username'} || join('|', keys %{$criteria{'username'};})