Condition Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Generic/USB.pm
Criterion Covered Total %
condition 5 6 83.3


and 3 conditions

line !l l&&!r l&&r condition
43 5 1 0 defined $device->{'SERIAL'} and length $device->{'SERIAL'} < 5

or 3 conditions

line l !l&&r !l&&!r condition
41 7 2 6 $device->{'PRODUCTID'} eq '0001' or $device->{'PRODUCTID'} eq '0002'