File Coverage

/tmp/QdGjj74k3a
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 2     2   3855711 has attr =>
  2         10  
  2         68  
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 6     6   11 }
14 6         7 1;
  6         10