/tmp/PLHpJZbTBl | |||
---|---|---|---|
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 | 4 | 4 | 11635422 | has attr => | |||
4 | 23 | ||||||
4 | 89 | ||||||
3 | is => 'rw', | ||||||
4 | trigger => 1, | ||||||
5 | lazy => 1, | ||||||
6 | default => 'default'; | ||||||
7 | has log => | ||||||
8 | is => 'ro', | ||||||
9 | default => sub { [] }, | ||||||
10 | lazy => 1; | ||||||
11 | my $self = shift; | ||||||
12 | push @{ $self->log }, [ @_ ]; | ||||||
13 | 15 | 15 | 21 | } | |||
14 | 15 | 27 | 1; | ||||
15 | 42 |