/tmp/m1nCRbGnr6 | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 6 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 8 | 8 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | use Mite::Shim; | ||||||
2 | 2 | 2 | 4869250 | has attr => | |||
2 | 5 | ||||||
2 | 32 | ||||||
3 | is => 'rw', | ||||||
4 | trigger => 1; | ||||||
5 | has log => | ||||||
6 | is => 'ro', | ||||||
7 | default => sub { [] }, | ||||||
8 | lazy => 1; | ||||||
9 | my $self = shift; | ||||||
10 | push @{ $self->log }, [ @_ ]; | ||||||
11 | 3 | 3 | 5 | } | |||
12 | 3 | 3 | 1; | ||||
3 | 7 |