Condition Coverage

blib/lib/PRANG/Graph/Context.pm
Criterion Covered Total %
condition 0 26 0.0


and 3 conditions

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

or 2 conditions

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

or 3 conditions

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