Condition Coverage

blib/lib/FusionInventory/Agent/Tools/Linux.pm
Criterion Covered Total %
condition 8 11 72.7


and 3 conditions

line !l l&&!r l&&r condition
114 5 2 59 $cpu and _isValidCPU($cpu)
121 18 7 6 $cpu and _isValidCPU($cpu)

or 2 conditions

line l !l condition
415 0 0 ioctl($socket, 35142, $request) || -1

or 3 conditions

line l !l&&r !l&&!r condition
129 61 0 13 exists $cpu->{'processor'} || exists $cpu->{'cpu'}