File Coverage

/tmp/F3eVTsxXaC
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             package MyTest;
2 2     2   4905764 use Mite::Shim;
  2         6  
  2         21  
3             has attr =>
4             is => 'rw',
5             trigger => 1;
6             has log =>
7             is => 'ro',
8             default => sub { [] },
9             lazy => 1;
10             sub _trigger_attr {
11 3     3   5 my $self = shift;
12 3         3 push @{ $self->log }, [ @_ ];
  3         5  
13             }
14             1;