NewsExtractor/CSSRuleSet.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« NewsExtractor/SiteSpecificExtractor/www_aljazeera_com.pm ↑ Summary NewsExtractor/Constants.pm »
1 package NewsExtractor::CSSRuleSet;
2 1 ▶use v5.18;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use Types::Common::String qw( NonEmptySimpleStr );
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 has headline => (
9 required => 1,
10 is => 'ro',
11 isa => NonEmptySimpleStr,
12 );
13  
14 1 has journalist => (
15 required => 1,
16 is => 'ro',
17 isa => NonEmptySimpleStr,
18 );
19  
20 1 has dateline => (
21 required => 1,
22 is => 'ro',
23 isa => NonEmptySimpleStr,
24 );
25  
26 1 has content_text => (
27 required => 1,
28 is => 'ro',
29 isa => NonEmptySimpleStr,
30 );
31  
32 1 1;
« NewsExtractor/SiteSpecificExtractor/www_aljazeera_com.pm ↑ Summary NewsExtractor/Constants.pm »