Branch Coverage

blib/lib/Class/RDF.pm
Criterion Covered Total %
branch 0 130 0.0


line true false branch
78 0 0 unless $ns
85 0 0 if (ref $object) { }
96 0 0 if $Cache{$prefix}
140 0 0 if ref $class and $class->isa('Class::RDF::Node')
143 0 0 if $cached
145 0 0 $value =~ /^\w+:\S+$/o ? :
152 0 0 unless defined $value
155 0 0 if $cached
158 0 0 if $found
164 0 0 if ($node) { }
0 0 elsif (exists $Cache{$value}) { }
234 0 0 unless ref $node
247 0 0 $obj->is_resource ? :
256 0 0 if ($node and $node->can('value')) { }
269 0 0 ref $_[0] ? :
271 0 0 if $args{'like'}
274 0 0 unless ref $where
276 0 0 if ($args{'like'})
278 0 0 unless @nodes
283 0 0 if ($args{'objects'}) { }
0 0 elsif ($args{'order'}) { }
303 0 0 if exists $args{'predicate'} and not ref $args{'predicate'}
308 0 0 if (ref $args{$position}) { }
311 0 0 unless my $node = $class->Node->find($args{$position})
330 0 0 unless (exists $nodes{$n{'id'}})
333 0 0 unless (exists $triples{$t{'id'}})
339 0 0 if $@
344 0 0 if $$st{$which}
390 0 0 unless ref $_[0] eq 'HASH'
391 0 0 unless ref $_[0] eq 'HASH'
392 0 0 if ref $_[0] eq 'HASH'
393 0 0 if $_[0]
396 0 0 unless (ref $uri)
400 0 0 if $context and not ref $context
411 0 0 ref $vals eq 'ARRAY' ? :
412 0 0 if ref $val and $$val{'uri'}
437 0 0 if $$self{'stub'}
443 0 0 if $$self{'stub'}
465 0 0 if @_
466 0 0 if $$self{'context'}
471 0 0 if $$self{'stub'}
472 0 0 unless my $statements = $$self{'triples'}{$prop}
474 0 0 wantarray ? :
479 0 0 if $$self{'stub'}
481 0 0 if (exists $$self{'triples'}{$key})
486 0 0 ref $val eq 'ARRAY' ? :
487 0 0 if ref $value and $value->can('uri')
516 0 0 if (@vals) { }
525 0 0 if $$self{'stub'}
527 0 0 ref $val eq 'ARRAY' ? :
528 0 0 if ref $value and $$value{'uri'}
539 0 0 if $$self{'stub'}
542 0 0 ref $vals eq 'ARRAY' ? :
544 0 0 if ref $o and $$o{'uri'}
550 0 0 if ($remove{$$triples[$st]->object->value})
560 0 0 if $$self{'stub'}
561 0 0 if exists $$self{'triples'}{$prop}
569 0 0 $node ? :
577 0 0 if (ref $args eq 'HASH') { }
590 0 0 ref $args ? :
592 0 0 if $object
598 0 0 unless ($seen{$id})
606 0 0 if (my $order = $args{'order'})
607 0 0 $order eq 'asc' ? :
612 0 0 wantarray ? :