Condition Coverage

blib/lib/Schedule/Load/Hosts.pm
Criterion Covered Total %
condition 27 96 28.1


and 3 conditions

line !l l&&!r l&&r condition
56 1 7 0 $$self{'_fetched'} and $$self{'_fetched'} < 0
84 0 0 0 $$params{'chooser'} and not $$params{'chooser_if_reporters'}
95 0 0 0 $self and ref $self
102 0 0 14 $self and ref $self
111 0 0 0 $self and ref $self
118 0 0 7 $self and ref $self
133 0 0 0 $self and ref $self
144 0 0 12 $self and ref $self
152 0 0 1 $self and ref $self
159 62 0 2 /^class_/ and $host->get($_)
171 0 0 1 $self and ref $self
186 0 0 0 $self and ref $self
201 0 0 4 $self and ref $self
540 0 2 0 $val and $val > 1 || $class_numeric{$class}
560 0 0 1 $self and ref $self
646 0 0 0 $! != 4 and $! != 11
27 0 0 !defined($rv) || length $data == 0 and ($! != 4 and $! != 11)

or 2 conditions

line l !l condition
41 0 1 $ENV{'USER'} || ''
106 14 0 $$a{'const'}{'hostname'} || ''
14 0 $$b{'const'}{'hostname'} || ''
246 0 0 shift() || 0
283 28 20 $widths[$col] || 0
289 19 0 $widths[$col] || 1
379 0 0 $$hosts{'chooinfo'}{'slchoosed_version'} || '?'
0 0 $$hosts{'chooinfo'}{'slchoosed_connect_time'} || 0
0 0 $$hosts{'chooinfo'}{'last_command_delay'} || 0
390 0 0 $$hosts{'chooinfo'}{'slchoosed_messages'} || []
405 0 0 $host->get_undef('slreportd_version') || '?'
0 0 $host->slreportd_connect_time || 0
431 1 0 $p->size || 0
610 20 0 $$self{'req_retries'} || 3
20 0 $$self{'req_retry_delay'} || 20

or 3 conditions

line l !l&&r !l&&!r condition
40 0 1 0 ref $proto || $proto
540 0 0 2 $val > 1 || $class_numeric{$class}
646 0 0 27 !defined($rv) || length $data == 0
648 0 0 27 $done ||= $eof
673 0 0 20 $eof or not $fh->connected