File Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Generic/PCI.pm
Criterion Covered Total %
statement 9 11 81.8
branch n/a
condition n/a
subroutine 3 5 60.0
pod 0 2 0.0
total 12 18 66.6


line stmt bran cond sub pod time code
1             package FusionInventory::Agent::Task::Inventory::Generic::PCI;
2              
3 1     1   96279399 use strict;
  1         12  
  1         74  
4 1     1   6 use warnings;
  1         5  
  1         61  
5              
6 1     1   394 use FusionInventory::Agent::Tools;
  1         3  
  1         179  
7              
8             sub isEnabled {
9 0     0 0   return canRun('lspci');
10             }
11              
12 0     0 0   sub doInventory {}
13              
14             1;