File Coverage

/tmp/74rLRJ5T68
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package RandomThing;
2 3     3   10149847 use Mite::Shim;
  3         25  
  3         83  
3             has number =>
4             is => 'ro',
5 2     2   14 builder => sub { rand() };
6              
7             package GatewayToRandom;
8 3     3   364 use Mite::Shim;
  3         5  
  3         14  
9             has random_thing =>
10             is => 'lazy',
11 2     2   8 builder => sub { RandomThing->new },
12             handles => [ 'number' ];
13              
14             1;