| blib/lib/FusionInventory/Agent/Task/Inventory/Win32.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::Win32; | ||||||
| 2 | |||||||
| 3 | 1 | 1 | 33212334 | use strict; | |||
| 1 | 13 | ||||||
| 1 | 108 | ||||||
| 4 | 1 | 1 | 19 | use warnings; | |||
| 1 | 3 | ||||||
| 1 | 135 | ||||||
| 5 | |||||||
| 6 | 1 | 1 | 17 | use English qw(-no_match_vars); | |||
| 1 | 110 | ||||||
| 1 | 34 | ||||||
| 7 | |||||||
| 8 | our $runAfter = ["FusionInventory::Agent::Task::Inventory::Generic"]; | ||||||
| 9 | |||||||
| 10 | sub isEnabled { | ||||||
| 11 | 0 | 0 | 0 | return $OSNAME eq 'MSWin32'; | |||
| 12 | } | ||||||
| 13 | |||||||
| 14 | 0 | 0 | sub doInventory { | ||||
| 15 | |||||||
| 16 | } | ||||||
| 17 | |||||||
| 18 | 1; |