| blib/lib/RDF/Simple/Parser/Handler.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 28 | 49 | 57.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 88 | 36 | 0 | 2 | $rh->{'Prefix'} eq 'xml' and $rh->{'LocalName'} eq 'base' |
| 165 | 99 | 0 | 11 | $uri =~ /\A#/ and defined $sBase |
| 190 | 45 | 0 | 0 | $attrs->{'lang'} and $attrs->{'dtype'} |
| 293 | 47 | 1 | 3 | scalar @$children == 1 and not $e->attrs->{$rdf . 'parseType'} |
| 302 | 3 | 1 | 44 | scalar @$children eq 0 and defined $e->text |
| 4 | 0 | 44 | scalar @$children eq 0 and defined $e->text and $e->text ne '' |
| line | l | !l | condition |
|---|---|---|---|
| 123 | 187 | 0 | $self->{'stack'} || [] |
| 141 | 46 | 46 | $$stack[-1]->children || [] |
| 164 | 51 | 59 | $self->ns->uri('_perl_module_rdf_simple_base_') || '' |
| 228 | 0 | 34 | $e->base || $self->base || '' |
| 282 | 8 | 3 | $e->parent->{'liCounter'} ||= 1 |
| 286 | 6 | 51 | $e->children || [] |
| 467 | 0 | 1 | $base ||= '' |
| 483 | 0 | 0 | $res ||= '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 26 | 0 | 12 | 0 | ref $class || $class |
| 323 | 1 | 0 | 0 | not defined $e->text or $e->text eq '' |
| 347 | 0 | 0 | 0 | $e->base || $self->base |
| 369 | 0 | 0 | 44 | $e->base || $self->base |
| 384 | 0 | 0 | 1 | $e->base || $self->base |