blib/lib/NewsExtractor/Role/ContentTextExtractor.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 10 | 0.0 |
line | true | false | branch |
---|---|---|---|
26 | 0 | 0 | if ($el) |
41 | 0 | 0 | if ($el = $self->dom->at('article')) { } |
49 | 0 | 0 | unless my @paragraphs = split(/\n\n/, $text, 0) |
51 | 0 | 0 | if (my $site_name = $self->site_name) |
58 | 0 | 0 | if (&max(map({length $_;} @paragraphs)) < 30) |