Branch Coverage

blib/lib/RDF/Query/Algebra/Quad.pm
Criterion Covered Total %
branch 7 28 25.0


line true false branch
54 0 426 unless (scalar @nodes == 4)
59 0 1704 unless (defined $nodes[$i] and &blessed($nodes[$i]))
62 358 1346 unless ($nodes[$i]->isa('RDF::Query::Node'))
82 8 102 if ($pred->isa('RDF::Trine::Node::Resource') and $pred->uri_value eq 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type') { }
140 0 0 if ($blessed and $n->isa('RDF::Query::Node::Resource')) { }
0 0 elsif ($blessed and $n->isa('RDF::Query::Node::Literal')) { }
142 0 0 if (ref $uri) { }
144 0 0 unless (exists $ns->{$n})
155 0 0 if (ref $dt) { }
157 0 0 unless (exists $ns->{$n})
183 0 0 $n->isa('RDF::Query::Node::Variable') ? :
201 0 320 if ($nodes[$i]->isa('RDF::Query::Node::Blank'))
220 0 0 if (@_)
224 0 0 if (exists $QUAD_LABELS{$addr}) { }