| blib/lib/FusionInventory/Agent/Task/Inventory/Generic/PCI/Controllers.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 20 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 11 | 0 | 0 | if $params{'no_category'}{'controller'} |
| 36 | 0 | 24 | unless $device->{'PCIID'} |
| 47 | 21 | 3 | if $device->{'DRIVER'} |
| 49 | 0 | 24 | if $device->{'PCISUBSYSTEMID'} |
| 57 | 24 | 0 | if ($vendor) |
| 60 | 24 | 0 | if ($vendor->{'devices'}{$device_id}) |
| 68 | 0 | 24 | $subdevice_id && $entry->{'subdevices'}{$subdevice_id} ? : |
| 72 | 0 | 24 | unless $device->{'PCICLASS'} |
| 79 | 24 | 0 | if ($class) |
| 83 | 24 | 0 | $subclass_id && $class->{'subclasses'}{$subclass_id} ? : |