Condition Coverage

blib/lib/HTML/Hyphenate.pm
Criterion Covered Total %
condition 33 33 100.0


and 3 conditions

line !l l&&!r l&&r condition
147 1 1 3 defined $label and &blessed($tex)
2 1 2 defined $label and &blessed($tex) and $tex->isa('TeX::Hyphen')
173 130 2 10 $text_attr->has($k) and length $v >= $self->min_length
183 79 2 150 length $string >= $self->min_length and $string =~ /$NONSPACE/ux
271 101 2 1 $recent && $HTML eq $recent->tag
353 135 470 1 defined $parent && ($parent->tag || $EMPTY) eq $PRE
370 28 64 144 not $classnames->is_empty and $node->ancestors->size

or 3 conditions

line l !l&&r !l&&!r condition
168 225 6 127 $TEXT eq $type or $RAW eq $type
244 200 24 355 $_[0]->attr($LANG) || $_[0]->attr("xml:$LANG")
281 10 95 236 not defined $self->_lang or $lang ne $self->_lang
361 1 56 549 __parent_is_pre($node) || $self->_classes && !$self->_hyphenable_by_class($node)