File Coverage

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   123832607 use strict;
  1         3  
  1         73  
4 1     1   11 use warnings;
  1         9  
  1         80  
5              
6 1     1   691 use FusionInventory::Agent::Tools;
  1         5  
  1         305  
7              
8             sub isEnabled {
9 0     0 0   return canRun('lspci');
10             }
11              
12       0 0   sub doInventory {}
13              
14             1;