| line | % | coverage | branch |
| 83 | 100 | T | F | if ($params->{'strict'}) |
| 89 | 50 | T | F | if (my $logger = $self->{'logger'}) |
| 90 | 0 | T | F | unless (&Scalar::Util::blessed($logger)) |
| 94 | 0 | T | F | if ($@) |
| 135 | 50 | T | F | if (ref $xml_string eq "SCALAR") |
| 141 | 50 | T | F | unless ($xml_string) |
| 260 | 50 | T | F | unless ref $node eq "HASH" and $node->{'children'} |
| 264 | 50 | T | F | unless my $name = $child->{'name'} |
| 267 | 100 | T | F | if ($child->{'children'} and @{$child->{'children'};}) |
| 268 | 100 | T | F | if (@{$child->{'children'};} == 1 and exists $child->{'children'}[0]{'text'}) { } |
| 275 | 100 | T | F | unless defined $value and $value ne "" |
| 278 | 100 | T | F | if (exists $result{$name}) { } |
| 279 | 100 | T | F | unless ref $result{$name} eq "ARRAY" |
| 303 | 50 | T | F | unless (defined $xml_ref) |
| 304 | 0 | T | F | if ($self->{'logger'}) |
| 311 | 50 | T | F | unless ($$xml_ref =~ s[^\s*<([^\s/>]+)([^>]*)\s*(/?)>][]s) |
| 319 | 50 | T | F | if ($self_close and not $$xml_ref =~ m[^\s*</(?:\w+:)?$raw_tag\s*>]) |
| 325 | 100 | T | F | if ($attr_string =~ s[/\s*$][]) |
| 329 | 100 | T | F | $raw_tag =~ /^([^:]+):(.+)$/ ? : |
| 338 | 50 | T | F | if ($k1 eq 'xmlns' and not defined $k2) { } |
| 100 | T | F | elsif ($k1 eq 'xmlns' and defined $k2) { } |
| 369 | 100 | T | F | if $attr =~ /^xmlns(?::|$)/ |
| 378 | 100 | T | F | defined $ns ? : |
| 384 | 100 | T | F | if $self_close |
| 387 | 50 | T | F | if ($$xml_ref =~ s/^([^<]+)//s) |
| 390 | 100 | T | F | if $text ne "" |
| 396 | 50 | T | F | if $child |
| 409 | 50 | T | F | unless defined $text |
| 424 | 100 | T | F | if ($text =~ /&([^;]*);/) |
| 426 | 50 | T | F | unless ($entity =~ /^(lt|gt|amp|quot|apos)$/ or $entity =~ /^#(?:x[0-9a-fA-F]+|\d+)$/) |
| 432 | 100 | T | F | if ($text =~ /&/) |
| 445 | 100 | T | F | if ($self->{'strict'}) { } |
| 100 | T | F | elsif ($self->{'warn_on_error'}) { } |
| 447 | 50 | T | F | if ($self->{'logger'}) |
| 453 | 50 | T | F | if ($self->{'logger'}) { } |
| 459 | 50 | T | F | if ($self->{'logger'}) { } |