File Coverage

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