File Coverage

lib/File/DataClass/List.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package File::DataClass::List;
2              
3 3     3   10 use namespace::autoclean;
  3         4  
  3         13  
4              
5 3     3   128 use Moo;
  3         3  
  3         16  
6 3     3   622 use File::DataClass::Types qw( ArrayRef Bool HashRef Result Undef );
  3         3  
  3         19  
7              
8             has 'found' => is => 'ro', isa => Bool, default => 0;
9 3     3   2563 has 'labels' => is => 'ro', isa => HashRef, builder => sub { {} };
10 1     1   34 has 'list' => is => 'ro', isa => ArrayRef, builder => sub { [] };
11             has 'result' => is => 'ro', isa => Result | Undef;
12              
13             1;
14              
15             __END__