| blib/lib/FusionInventory/Agent/Task/Inventory/Generic/PCI.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 9 | 10 | 90.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 3 | 5 | 60.0 |
| pod | 0 | 2 | 0.0 |
| total | 12 | 17 | 70.5 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package FusionInventory::Agent::Task::Inventory::Generic::PCI; | ||||||
| 2 | |||||||
| 3 | 1 | 1 | 105687842 | use strict; | |||
| 1 | 6 | ||||||
| 1 | 52 | ||||||
| 4 | 1 | 1 | 6 | use warnings; | |||
| 1 | 11 | ||||||
| 1 | 92 | ||||||
| 5 | |||||||
| 6 | 1 | 1 | 1434 | use FusionInventory::Agent::Tools; | |||
| 1 | 4 | ||||||
| 1 | 292 | ||||||
| 7 | |||||||
| 8 | sub isEnabled { | ||||||
| 9 | 0 | 0 | 0 | return canRun('lspci'); | |||
| 10 | } | ||||||
| 11 | |||||||
| 12 | 0 | 0 | sub doInventory {} | ||||
| 13 | |||||||
| 14 | 1; |