blib/lib/Class/RDF.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 39 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
140 | 0 | 0 | 0 | ref $class and $class->isa('Class::RDF::Node') |
256 | 0 | 0 | 0 | $node and $node->can('value') |
303 | 0 | 0 | 0 | exists $args{'predicate'} and not ref $args{'predicate'} |
400 | 0 | 0 | 0 | $context and not ref $context |
412 | 0 | 0 | 0 | ref $val and $$val{'uri'} |
487 | 0 | 0 | 0 | ref $value and $value->can('uri') |
528 | 0 | 0 | 0 | ref $value and $$value{'uri'} |
544 | 0 | 0 | 0 | ref $o and $$o{'uri'} |
line | l | !l | condition |
---|---|---|---|
139 | 0 | 0 | shift() || '' |
394 | 0 | 0 | $base ||= '_id:' |
432 | 0 | 0 | $$self{'triples'}{$statement->predicate->value} ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
395 | 0 | 0 | 0 | $uri ||= $base . sprintf('%08x%04x', time, int rand 65535) |
403 | 0 | 0 | 0 | ref $class || $class |
583 | 0 | 0 | 0 | $obj ||= $class->new(@_) |