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