File Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Generic/Softwares.pm
Criterion Covered Total %
statement 6 8 75.0
branch n/a
condition n/a
subroutine 2 4 50.0
pod 0 2 0.0
total 8 14 57.1


line stmt bran cond sub pod time code
1             package FusionInventory::Agent::Task::Inventory::Generic::Softwares;
2              
3 1     1   104866547 use strict;
  1         6  
  1         55  
4 1     1   13 use warnings;
  1         8  
  1         164  
5              
6             sub isEnabled {
7 0     0 0   my (%params) = @_;
8              
9 0           return !$params{no_category}->{software};
10             }
11              
12       0 0   sub doInventory {}
13              
14             1;