| /tmp/L4RD3UeTP8 | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 3 | 3 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 1 | 1 | 100.0 |
| pod | n/a | ||
| total | 4 | 4 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Thingy1; | ||||||
| 2 | 2 | 2 | 5104135 | use Mite::Shim; | |||
| 2 | 16 | ||||||
| 2 | 60 | ||||||
| 3 | has xyz => | ||||||
| 4 | is => 'ro', | ||||||
| 5 | isa => 'ArrayRef[Bool]', | ||||||
| 6 | coerce => 1, | ||||||
| 7 | handles_via => 'Array', | ||||||
| 8 | default => [], | ||||||
| 9 | handles => { | ||||||
| 10 | 'push_%s' => 'push', | ||||||
| 11 | 'pop_%s' => 'pop', | ||||||
| 12 | 'push_true' => [ push => {} ], # a hashref is true! | ||||||
| 13 | 'push_false' => [ push => 0 ], | ||||||
| 14 | }; | ||||||
| 15 | 1; |