Condition Coverage

blib/lib/FusionInventory/Agent/Task/Collect.pm
Criterion Covered Total %
condition 11 33 33.3


and 3 conditions

line !l l&&!r l&&r condition
95 0 38 0 $spec == _OPTIONAL() and exists $base->{$key}
179 0 17 0 ref $job eq 'HASH' and exists $job->{'task'}
1 0 16 ref $job eq 'HASH' and exists $job->{'task'} and $job->{'task'} eq 'Collect'
201 1 13 1 ref $answer eq 'HASH' and not keys %$answer
211 1 0 0 exists $answer->{'postmethod'} && $answer->{'postmethod'} eq 'POST'
321 0 0 0 not $params{'recursive'} and $File::Find::name ne $params{'dir'}
326 0 0 0 $params{'filter'}{'is_dir'} and not $params{'filter'}{'checkSumSHA512'}
0 0 0 $params{'filter'}{'is_dir'} and not $params{'filter'}{'checkSumSHA512'} and not $params{'filter'}{'checkSumSHA2'}

or 3 conditions

line l !l&&r !l&&!r condition
115 1 1 11 not defined $answer->{'jobs'} or ref $answer->{'jobs'} ne 'ARRAY'
244 0 0 0 not $count or keys %$result
268 0 0 0 $type == 3 or $type >= 8