| 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 | use utf8; | ||||||
| 2 | 1 | 1 | 6 | use Moo; | |||
| 1 | 2 | ||||||
| 1 | 5 | ||||||
| 3 | 1 | 1 | 26 | extends 'NewsExtractor::JSONLDExtractor'; | |||
| 1 | 2 | ||||||
| 1 | 3 | ||||||
| 4 | |||||||
| 5 | use NewsExtractor::GenericExtractor; | ||||||
| 6 | 1 | 1 | 250 | ||||
| 1 | 2 | ||||||
| 1 | 64 | ||||||
| 7 | return '立場新聞' | ||||||
| 8 | } | ||||||
| 9 | 0 | 0 | 0 | ||||
| 10 | my ($self) = @_; | ||||||
| 11 | |||||||
| 12 | return $self->NewsExtractor::GenericExtractor::_build_content_text(); | ||||||
| 13 | 0 | 0 | 0 | } | |||
| 14 | |||||||
| 15 | 0 | 1; |