File Coverage

blib/lib/NewsExtractor/CSSRuleSet.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 15 15 100.0


line stmt bran cond sub pod time code
1             use v5.18;
2 1     1   11 use utf8;
  1         3  
3 1     1   5 use Moo;
  1         2  
  1         6  
4 1     1   18  
  1         2  
  1         6  
5             use Types::Common::String qw( NonEmptySimpleStr );
6 1     1   619  
  1         18122  
  1         11  
7             has headline => (
8             required => 1,
9             is => 'ro',
10             isa => NonEmptySimpleStr,
11             );
12              
13             has journalist => (
14             required => 1,
15             is => 'ro',
16             isa => NonEmptySimpleStr,
17             );
18              
19             has dateline => (
20             required => 1,
21             is => 'ro',
22             isa => NonEmptySimpleStr,
23             );
24              
25             has content_text => (
26             required => 1,
27             is => 'ro',
28             isa => NonEmptySimpleStr,
29             );
30              
31             1;