File Coverage

blib/lib/NewsExtractor/SiteSpecificExtractor/www_thestandnews_com.pm
Criterion Covered Total %
statement 9 12 75.0
branch n/a
condition n/a
subroutine 3 5 60.0
pod 0 2 0.0
total 12 19 63.1


line stmt bran cond sub pod time code
1             package NewsExtractor::SiteSpecificExtractor::www_thestandnews_com;
2 1     1   8 use utf8;
  1         2  
  1         7  
3 1     1   33 use Moo;
  1         3  
  1         7  
4             extends 'NewsExtractor::JSONLDExtractor';
5              
6 1     1   354 use NewsExtractor::GenericExtractor;
  1         3  
  1         105  
7              
8             sub site_name {
9 0     0 0   return '立場新聞'
10             }
11              
12             sub content_text {
13 0     0 0   my ($self) = @_;
14              
15 0           return $self->NewsExtractor::GenericExtractor::_build_content_text();
16             }
17              
18             1;