Condition Coverage

blib/lib/Syntax/Highlight/XML.pm
Criterion Covered Total %
condition 38 54 70.3


and 3 conditions

line !l l&&!r l&&r condition
81 6 8 0 $_[0]->is_opening and $_[0]->is_closing
157 1 0 0 blessed $thing and $thing->isa('RDF::Trine::Model')
1 0 0 blessed $thing and $thing->isa('RDF::Trine::Model') and $self->can('_serializer')
163 1 0 0 blessed $thing and $thing->isa('RDF::Trine::Iterator')
1 0 0 blessed $thing and $thing->isa('RDF::Trine::Iterator') and $thing->can('as_xml')
169 1 0 0 blessed $thing and $thing->isa('RDF::Trine::Iterator')
1 0 0 blessed $thing and $thing->isa('RDF::Trine::Iterator') and $self->can('_serializer')
175 1 0 0 blessed $thing and $thing->isa('XML::LibXML::Node')
207 14 44 14 $TAG and $matches = $self->_peek(qr/^(\??>)/)
14 36 8 $TAG and $matches = $self->_peek(qr/^(\s+)/s)
14 16 20 $TAG and not $TAG->name
30 6 14 $TAG and not $TAG->name and $matches = $self->_peek(qr/^((?:\w+[:])?\w+)/)
14 6 16 $TAG and $TAG->name
20 10 6 $TAG and $TAG->name and $matches = $self->_peek(qr/^((?:\w+[:])?\w+)/)
14 12 4 $TAG and $self->_peek('=')
14 6 6 $TAG and $self->_peek('/')
14 0 6 $TAG and $self->_peek(qr/^["']/)

or 3 conditions

line l !l&&r !l&&!r condition
242 1 2 3 $TAG->is_pi or $TAG->is_doctype