| blib/lib/HTML/Hyphenate.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 33 | 33 | 100.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 144 | 1 | 1 | 3 | defined $label and &blessed($tex) |
| 2 | 1 | 2 | defined $label and &blessed($tex) and $tex->isa('TeX::Hyphen') | |
| 170 | 128 | 2 | 10 | $text_attr->has($k) and length $v >= $self->min_length |
| 180 | 79 | 2 | 148 | length $string >= $self->min_length and $string =~ /$NONSPACE/ux |
| 268 | 101 | 2 | 1 | $recent && $HTML eq $recent->tag |
| 329 | 133 | 466 | 1 | defined $parent && ($parent->tag || $EMPTY) eq $PRE |
| 346 | 28 | 64 | 144 | not $classnames->is_empty and $node->ancestors->size |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 165 | 223 | 6 | 125 | $TEXT eq $type or $RAW eq $type |
| 241 | 196 | 24 | 353 | $_[0]->attr($LANG) || $_[0]->attr("xml:$LANG") |
| 278 | 9 | 94 | 234 | not defined $self->_lang or $lang ne $self->_lang |
| 337 | 1 | 56 | 543 | __parent_is_pre($node) || $self->_classes && !$self->_hyphenable_by_class($node) |