/tmp/j74k3aHZSV | |||
---|---|---|---|
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 | 3773049 | has attr => | |||
2 | 3 | ||||||
2 | 22 | ||||||
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 | 3 | } | |||
12 | 3 | 4 | 1; | ||||
3 | 6 |