Condition Coverage

blib/lib/HTML/Summary.pm
Criterion Covered Total %
condition 20 24 83.3


and 3 conditions

line !l l&&!r l&&r condition
215 24 1 1 $self->{'USE_META'} and $summary = $self->_get_summary_from_meta($tree)
455 20 2 1 $node->tag eq 'meta' and defined $node->attr('name')
22 0 1 $node->tag eq 'meta' and defined $node->attr('name') and lc $node->attr('name') eq 'description'
2 0 1 $node->tag eq 'meta' and defined $node->attr('name') and lc $node->attr('name') eq 'description' and defined $node->attr('content')

or 3 conditions

line l !l&&r !l&&!r condition
351 260 0 210 shift() || $DEFAULT_SCORE
384 458 180 338 $ELEMENT_SCORES{$tag} or not _has_scoring_element($node)
403 260 0 84 $ELEMENT_SCORES{$tag} || $DEFAULT_SCORE
518 30015 338 3972 $has_scoring_element ||= $ELEMENT_SCORES{$tag}