Condition Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Win32/Printers.pm
Criterion Covered Total %
condition 11 21 52.3


and 3 conditions

line !l l&&!r l&&r condition
76 0 0 0 $object->{'PortName'} and $object->{'PortName'} =~ /USB/
153 0 14 0 $subdevice->{'Device Parameters/'} and $subdevice->{'Device Parameters/'}{'/PortName'}
0 5 9 $subdevice->{'Device Parameters/'} and $subdevice->{'Device Parameters/'}{'/PortName'} and $subdevice->{'Device Parameters/'}{'/PortName'} eq $portName
178 0 12 0 $subdevice->{'Device Parameters/'} and $subdevice->{'Device Parameters/'}{'/PortName'}
0 5 7 $subdevice->{'Device Parameters/'} and $subdevice->{'Device Parameters/'}{'/PortName'} and $subdevice->{'Device Parameters/'}{'/PortName'} eq $portName
203 52 56 7 $subdevice->{'/ParentIdPrefix'} and $subdevice->{'/ParentIdPrefix'} eq $prefix
230 0 34 4 $subdevice->{'/ContainerID'} and $subdevice->{'/ContainerID'} eq $containerId