Condition Coverage

blib/lib/PRANG/Graph/Context.pm
Criterion Covered Total %
condition 15 26 57.6


and 3 conditions

line !l l&&!r l&&r condition
133 0 375 112 $newnode_name && $prefix
295 16 0 2 @nodes > 1 and grep {not $_->isa("XML::LibXML::Element");} @nodes
4 6 6 @nodes and $nodes[0]->isa("XML::LibXML::Element")
4 0 6 @nodes and $nodes[0]->isa("XML::LibXML::Text")

or 2 conditions

line l !l condition
133 487 0 $newnode_name || 'text()'

or 3 conditions

line l !l&&r !l&&!r condition
126 0 15 0 thing_xmlns($thing, $xmlns) // $self->base->generate_prefix($xmlns)
156 209 0 15 $self->xsi_virgin || exists $self->old_xsi->{$prefix}
180 0 13 0 thing_xmlns($thing, $xmlns) // $self->base->generate_prefix($xmlns)
290 0 0 22 $_->isa('XML::LibXML::Comment') || $_->isa('XML::LibXML::Text') && $_->data =~ /\A\s+\Z/