/tmp/jwaXCOqF6g | |||
---|---|---|---|
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 | 5 | 5 | 19254325 | has attr => | |||
5 | 14 | ||||||
5 | 63 | ||||||
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 | 20 | 20 | 28 | } | |||
13 | 20 | 20 | 1; | ||||
20 | 36 |