blib/lib/PRANG/Graph/Element.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 37 | 58 | 63.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
80 | 179 | 27 | 145 | $got_xmlns and $wanted_xmlns ne "*" |
206 | 68 | 77 | $got_xmlns and $wanted_xmlns ne "*" and $got_xmlns ne $wanted_xmlns | |
90 | 74 | 648 | 326 | $wanted_nodeName ne "*" and $wanted_nodeName ne $node->localname |
284 | 121 | 103 | 0 | ref $value and ref $value eq "ARRAY" |
224 | 0 | 0 | ref $value and ref $value eq "ARRAY" and defined $slot | |
330 | 5 | 0 | 115 | $self->has_contents and defined $value |
339 | 0 | 0 | 0 | $value->localname eq $nn->localname and ($value->namespaceURI || '') eq ($xmlns || '') |
375 | 0 | 0 | 103 | $m and &blessed($m) |
line | l | !l | condition |
---|---|---|---|
68 | 125 | 831 | $node->prefix || '' |
213 | 743 | $ctx->prefix || '' | |
72 | 172 | 179 | $node->prefix // "" |
79 | 169 | 182 | $self->xmlns || '' |
123 | 0 | 0 | $self->xmlns || '' |
302 | 6 | 200 | $self->xmlns // "" |
339 | 0 | 0 | $value->namespaceURI || '' |
0 | 0 | $xmlns || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
68 | 169 | 182 | 774 | $self->has_xmlns or ($node->prefix || '') ne ($ctx->prefix || '') |
173 | 0 | 0 | 107 | $_->isa('XML::LibXML::Comment') || $_->isa('XML::LibXML::Text') && $_->data =~ /\A\s+\Z/ |
237 | 0 | 0 | 0 | eval { |
280 | 159 | 37 | 28 | $value //= do { |
287 | 53 | 171 | 0 | $name //= do { |
296 | 18 | 6 | 200 | $xmlns //= do { |