/tmp/8O2w0hyQfm | |||
---|---|---|---|
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 | use Mite::Shim; | ||||||
2 | 2 | 2 | 5024572 | has xyz => | |||
2 | 12 | ||||||
2 | 50 | ||||||
3 | is => 'ro', | ||||||
4 | isa => 'ArrayRef[Bool]', | ||||||
5 | coerce => 1, | ||||||
6 | handles_via => 'Array', | ||||||
7 | default => [], | ||||||
8 | handles => { | ||||||
9 | 'push_%s' => 'push', | ||||||
10 | 'pop_%s' => 'pop', | ||||||
11 | 'push_true' => [ push => {} ], # a hashref is true! | ||||||
12 | 'push_false' => [ push => 0 ], | ||||||
13 | }; | ||||||
14 | 1; |