/tmp/S7r7HRMZct | |||
---|---|---|---|
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 | 3 | 3 | 7877460 | has attr => | |||
3 | 18 | ||||||
3 | 90 | ||||||
3 | is => 'rw', | ||||||
4 | trigger => 1, | ||||||
5 | default => 'default'; | ||||||
6 | has log => | ||||||
7 | is => 'ro', | ||||||
8 | default => sub { [] }, | ||||||
9 | lazy => 1; | ||||||
10 | my $self = shift; | ||||||
11 | push @{ $self->log }, [ @_ ]; | ||||||
12 | 10 | 10 | 20 | } | |||
13 | 10 | 10 | 1; | ||||
10 | 38 |