Keywords/Found.pm

filter: Statementstmt 92.8% 13 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod n/a totaltotal 88.8% 16 / 18 CC 1 SCAR 2.2
CC
1
Cov
93%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Keywords.pm ↑ Summary Keywords/List.pm »
1 package Text::Keywords::Found;
2 2 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 $Text::Keywords::Found::AUTHORITY = 'cpan:GETTY';
4 }
5 2 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 $Text::Keywords::Found::VERSION = '0.900';
7 }
8 # ABSTRACT: Class for a keyword found over a specific Text::Keywords::Container
9  
10 2 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 2 has keyword => (
13 is => 'ro',
14 required => 1,
15 );
16  
17 2 has found => (
18 is => 'ro',
19 required => 1,
20 );
21  
22 has matches => (
23 is => 'ro',
24 0 ▶ default => sub {[]},
Subroutine __ANON__: not called CC=1 SCAR=6.9
25 2 );
26  
27 2 has in_primary => (
28 is => 'ro',
29 required => 1,
30 );
31  
32 2 has in_secondary => (
33 is => 'ro',
34 required => 1,
35 );
36  
37 2 has container => (
38 is => 'ro',
39 required => 1,
40 );
41  
42 2 has list => (
43 is => 'ro',
44 required => 1,
45 );
46  
47 2 1;
48 __END__
« Keywords.pm ↑ Summary Keywords/List.pm »