/tmp/VTvLY2X7vc | |||
---|---|---|---|
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 | my $order = 0; | ||||||
2 | |||||||
3 | use Mite::Shim; | ||||||
4 | 2 | 2 | 3825459 | has second => | |||
2 | 9 | ||||||
2 | 36 | ||||||
5 | is => 'ro', | ||||||
6 | default => sub { ++$order }; | ||||||
7 | has first => | ||||||
8 | is => 'ro', | ||||||
9 | default => sub { ++$order }; | ||||||
10 | has '+second' => | ||||||
11 | documentation => 'Extended the attribute, so this now has later order'; | ||||||
12 | 1; |