| blib/lib/FusionInventory/Agent/Task/Inventory/Linux/Distro.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 6 | 7 | 85.7 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 2 | 4 | 50.0 |
| pod | 0 | 2 | 0.0 |
| total | 8 | 13 | 61.5 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package FusionInventory::Agent::Task::Inventory::Linux::Distro; | ||||||
| 2 | |||||||
| 3 | 1 | 1 | 43087305 | use strict; | |||
| 1 | 9 | ||||||
| 1 | 36 | ||||||
| 4 | 1 | 1 | 5 | use warnings; | |||
| 1 | 1 | ||||||
| 1 | 87 | ||||||
| 5 | |||||||
| 6 | sub isEnabled { | ||||||
| 7 | 0 | 0 | 0 | return 1; | |||
| 8 | } | ||||||
| 9 | |||||||
| 10 | 0 | 0 | sub doInventory {} | ||||
| 11 | |||||||
| 12 | 1; |