blib/lib/FusionInventory/Agent/Task/Inventory/Generic/Storages.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 10 | 60.0 |
branch | 0 | 2 | 0.0 |
condition | n/a | ||
subroutine | 2 | 4 | 50.0 |
pod | 0 | 2 | 0.0 |
total | 8 | 18 | 44.4 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package FusionInventory::Agent::Task::Inventory::Generic::Storages; | ||||||
2 | |||||||
3 | 1 | 1 | 101240716 | use strict; | |||
1 | 7 | ||||||
1 | 86 | ||||||
4 | 1 | 1 | 8 | use warnings; | |||
1 | 5 | ||||||
1 | 133 | ||||||
5 | |||||||
6 | sub isEnabled { | ||||||
7 | 0 | 0 | 0 | my (%params) = @_; | |||
8 | 0 | 0 | return 0 if $params{no_category}->{storage}; | ||||
9 | 0 | return 1; | |||||
10 | } | ||||||
11 | |||||||
12 | 0 | 0 | 0 | sub doInventory {} | |||
13 | |||||||
14 | 1; |