File Coverage

blib/lib/Text/Keywords/Found.pm
Criterion Covered Total %
statement 5 5 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Text::Keywords::Found;
2             BEGIN {
3 2     2   58 $Text::Keywords::Found::AUTHORITY = 'cpan:GETTY';
4             }
5             BEGIN {
6 2     2   36 $Text::Keywords::Found::VERSION = '0.900';
7             }
8             # ABSTRACT: Class for a keyword found over a specific Text::Keywords::Container
9              
10 2     2   11 use Moo;
  2         2  
  2         11  
11              
12             has keyword => (
13             is => 'ro',
14             required => 1,
15             );
16              
17             has found => (
18             is => 'ro',
19             required => 1,
20             );
21              
22             has matches => (
23             is => 'ro',
24             default => sub {[]},
25             );
26              
27             has in_primary => (
28             is => 'ro',
29             required => 1,
30             );
31              
32             has in_secondary => (
33             is => 'ro',
34             required => 1,
35             );
36              
37             has container => (
38             is => 'ro',
39             required => 1,
40             );
41              
42             has list => (
43             is => 'ro',
44             required => 1,
45             );
46              
47             1;
48             __END__