Branch Coverage

blib/lib/PRANG/Graph/Choice.pm
Criterion Covered Total %
branch 0 52 0.0


line true false branch
71 0 0 if (defined $choice->node_ok($node, $ctx))
87 0 0 if ($ctx->chosen)
100 0 0 $node->isa('XML::LibXML::Text') ? :
107 0 0 if (defined $choice->node_ok($node, $ctx))
110 0 0 if ($key)
138 0 0 if (my $num = $ctx->chosen) { }
176 0 0 if ($self->has_name_attr or $self->has_xmlns_attr) { }
0 0 elsif ($self->has_type_map) { }
177 0 0 if ($self->has_name_attr) { }
180 0 0 if (defined $slot)
187 0 0 if ($self->has_xmlns_attr) { }
190 0 0 if (defined $slot)
203 0 0 unless (ref $type)
208 0 0 if ($type->check($value))
213 0 0 if ($nodeCount > 1)
220 0 0 unless (defined $name)
226 0 0 if (length $name) { }
227 0 0 if ($self->has_type_map_prefix and $name =~ /(.*):(.*)/)
233 0 0 if ($xmlns)
234 0 0 unless $choice->has_xmlns
235 0 0 unless $choice->xmlns eq $xmlns or $choice->xmlns eq '*'
238 0 0 unless $choice->nodeName eq $name or $choice->nodeName eq '*'
241 0 0 defined $slot ? :
0 0 defined $xmlns ? :
250 0 0 if (not $found)
251 0 0 $xmlns ? :