/tmp/w0hyQfmG9j | |||
---|---|---|---|
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 | 9688789 | has attr => | |||
3 | 28 | ||||||
3 | 101 | ||||||
3 | is => 'rw', | ||||||
4 | trigger => 1, | ||||||
5 | default => 'default', | ||||||
6 | default_does_trigger => 1; | ||||||
7 | has log => | ||||||
8 | is => 'ro', | ||||||
9 | default => sub { [] }, | ||||||
10 | lazy => 1; | ||||||
11 | my $self = shift; | ||||||
12 | push @{ $self->log }, [ @_ ]; | ||||||
13 | 12 | 12 | 18 | } | |||
14 | 12 | 14 | 1; | ||||
12 | 22 |