line |
true |
false |
branch |
215
|
1 |
25 |
if ($self->{'USE_META'} and $summary = $self->_get_summary_from_meta($tree)) |
242
|
25 |
110 |
if ($tot_length += $_->{'length'}) > $self->{'LENGTH'} |
281
|
0 |
0 |
unless defined $option |
283
|
0 |
0 |
unless grep {$_ eq $option;} keys %DEFAULTS |
286
|
0 |
0 |
if (defined $val) |
310
|
0 |
25 |
unless @_ % 2 == 0 |
330
|
867 |
0 |
unless $self->{'VERBOSE'} |
353
|
30 |
440 |
unless $text =~ /\w/ |
371
|
1001 |
338 |
if ($flag) |
374
|
25 |
976 |
if $tag eq 'head' |
384
|
638 |
338 |
if ($ELEMENT_SCORES{$tag} or not _has_scoring_element($node)) |
401
|
344 |
294 |
if ($text =~ /\S/) |
455
|
1 |
0 |
if ($node->tag eq 'meta' and defined $node->attr('name') and lc $node->attr('name') eq 'description' and defined $node->attr('content')) |
461
|
0 |
1 |
if $summary eq 'content' |
469
|
1 |
1 |
defined $summary ? : |
494
|
1874 |
5482 |
unless ref $node |