File Coverage

/tmp/l6uzT9igim
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             my $order = 0;
2              
3             use Mite::Shim;
4 3     3   8004143 has second =>
  3         7  
  3         32  
5             is => 'ro',
6             default => sub { ++$order };
7             has first =>
8             is => 'ro',
9             default => sub { ++$order };
10             has '+second' =>
11             documentation => 'Extended the attribute, so this now has later order';
12             1;