blib/lib/RDF/Trine/Parser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 41 | 19.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
218 | 0 | 0 | 1 | $pclass and $pclass->can('new') |
347 | 0 | 0 | 0 | $pclass and $pclass->can('new') |
440 | 68 | 0 | 0 | &blessed($uri) and $uri->isa('RDF::Trine::Node::Resource') |
477 | 656 | 0 | 0 | &blessed($uri) and $uri->isa('RDF::Trine::Node::Resource') |
520 | 0 | 0 | 2 | $pclass and $pclass->can('new') |
525 | 0 | 0 | 2 | $self and $self->can('parse') |
548 | 9 | 0 | 0 | defined $UUID::Tiny::VERSION and $] < 5.01 |
line | l | !l | condition |
---|---|---|---|
128 | 0 | 0 | $class->parser_by_media_type('application/rdf+xml') || 'RDF::Trine::Parser::RDFXML' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
80 | 0 | 0 | 0 | ref $self || $self |
242 | 0 | 0 | 0 | $url =~ /[.](x?rdf|owl)$/ or $content =~ /\x{FEFF}?<[?]xml /mos |
0 | 0 | 0 | $url =~ /[.]ttl$/ or $content =~ /@(prefix|base)/mos | |
371 | 0 | 0 | 0 | $url =~ /[.](x?rdf|owl)$/ or $content =~ /\x{FEFF}?<[?]xml /mos |
0 | 0 | 0 | $url =~ /[.]ttl$/ or $content =~ /@(prefix|base)/mos | |
474 | 655 | 1 | 0 | &blessed($proto) || $proto eq 'RDF::Trine::Parser' |