| blib/lib/ITM/HardwareSource.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 6 | 7 | 85.7 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 2 | 3 | 66.6 |
| pod | 0 | 1 | 0.0 |
| total | 8 | 11 | 72.7 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package ITM::HardwareSource; | ||||||
| 2 | our $AUTHORITY = 'cpan:GETTY'; | ||||||
| 3 | $ITM::HardwareSource::VERSION = '0.002'; | ||||||
| 4 | 4 | 4 | 17 | use Moo; | |||
| 4 | 4 | ||||||
| 4 | 16 | ||||||
| 5 | 4 | 4 | 897 | use ITM; | |||
| 4 | 7 | ||||||
| 4 | 305 | ||||||
| 6 | |||||||
| 7 | with qw( ITM::Role ); | ||||||
| 8 | |||||||
| 9 | 0 | 0 | 0 | sub type { ITM_HARDWARE_SOURCE() } | |||
| 10 | |||||||
| 11 | has source => ( | ||||||
| 12 | is => 'ro', | ||||||
| 13 | required => 1, | ||||||
| 14 | ); | ||||||
| 15 | |||||||
| 16 | 1; | ||||||
| 17 | |||||||
| 18 | __END__ |