| blib/lib/AtteanX/Parser/RDFXML.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 18 | 48 | 37.5 | 
| line | l | !l | condition | 
|---|---|---|---|
| 163 | 0 | 4 | $nodes and scalar @$nodes | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 167 | 0 | 4 | 0 | $expect and scalar @$expect > 2 | 
| 244 | 5 | 0 | 3 | $self->{'depth'} == 1 and $el->{'NamespaceURI'} eq "http://www.w3.org/1999/02/22-rdf-syntax-ns#" | 
| 5 | 0 | 3 | $self->{'depth'} == 1 and $el->{'NamespaceURI'} eq "http://www.w3.org/1999/02/22-rdf-syntax-ns#" and $el->{'LocalName'} eq "RDF" | |
| 257 | 0 | 0 | 0 | defined $self->{'characters'} and length(my $string = $self->{'characters'}) | 
| 407 | 0 | 0 | 0 | $expect == 8 and $self->{'literal_depth'} == $self->{'depth'} | 
| 492 | 10 | 0 | 1 | $expect == 4 and $self->{'chars_ok'} | 
| 621 | 0 | 3 | 0 | &blessed($base) && $base->isa('URI') | 
| line | l | !l | condition | 
|---|---|---|---|
| 197 | 5 | 0 | $args{'bnode_prefix'} // "" | 
| 652 | 0 | 2 | $lang // "" | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 251 | 3 | 0 | 2 | $expect == 1 or $expect == 4 | 
| 273 | 0 | 0 | 0 | $self->{'collection_head'}[0] ||= $list | 
| 407 | 2 | 0 | 0 | $expect == 4 or $expect == 8 and $self->{'literal_depth'} == $self->{'depth'} | 
| 446 | 0 | 0 | 0 | $self->{'collection_head'}[0] || iri('http://www.w3.org/1999/02/22-rdf-syntax-ns#nil') | 
| 492 | 0 | 5 | 6 | $expect == 8 or $expect == 4 and $self->{'chars_ok'} | 
| 501 | 4 | 1 | 0 | shift() || $self->new_bnode | 
| 725 | 0 | 0 | 0 | $self->{'named_bnodes'}{$name} ||= $self->new_bnode |