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