Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Win32/USB.pm
Criterion Covered Total %
branch 10 14 71.4


line true false branch
11 0 0 if $params{'no_category'}{'usb'}
33 0 22 if $device->{'VENDORID'} =~ /^0+$/
36 10 12 if $$seen{$device->{'SERIAL'}}++
39 8 4 if $device->{'SERIAL'} =~ /&/
42 12 0 if ($vendor)
46 9 3 if ($entry)
65 495 22 unless $object->{'DeviceID'} =~ /^USB\\VID_(\w+)&PID_(\w+)\\(.*)/