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   16 use namespace::autoclean;
  3         7  
  3         14  
4              
5 3     3   161 use Moo;
  3         6  
  3         18  
6 3     3   945 use File::DataClass::Types qw( ArrayRef Bool HashRef Result Undef );
  3         7  
  3         41  
7              
8             has 'found' => is => 'ro', isa => Bool, default => 0;
9 3     3   2944 has 'labels' => is => 'ro', isa => HashRef, builder => sub { {} };
10 1     1   39 has 'list' => is => 'ro', isa => ArrayRef, builder => sub { [] };
11             has 'result' => is => 'ro', isa => Result | Undef;
12              
13             1;
14              
15             __END__