Branch Coverage

blib/lib/RDF/Query/Algebra/Triple.pm
Criterion Covered Total %
branch 18 28 64.2


line true false branch
59 0 1587 unless (defined $nodes[$i])
62 6 1581 if (&blessed($nodes[$i]) and not $nodes[$i]->isa('RDF::Query::Node'))
63 6 0 if ($nodes[$i]->isa('RDF::Trine::Node')) { }
0 0 elsif ($nodes[$i]->does('Attean::API::TermOrVariable')) { }
90 7 102 if ($pred->isa('RDF::Trine::Node::Resource') and $pred->uri_value eq 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type') { }
136 0 0 if (&blessed($_) and $_->isa('RDF::Trine::Node::Variable'))
156 0 1008 unless &blessed($_)
169 0 15 unless $pattern->isa('RDF::Trine::Statement')
172 11 27 if $snode->isa('RDF::Trine::Node::Variable')
174 21 6 if $snode->equal($pnode)
190 31 41 $n->isa('RDF::Query::Node::Variable') ? :
208 38 814 if ($nodes[$i]->isa('RDF::Query::Node::Blank'))
232 0 3 if (@_)
236 0 3 if (exists $TRIPLE_LABELS{$addr}) { }