Branch Coverage

blib/lib/RDF/Query/Algebra/BasicGraphPattern.pm
Criterion Covered Total %
branch 25 34 73.5


line true false branch
57 0 417 unless ($t->isa('RDF::Trine::Statement'))
101 21 119 unless (&blessed($n))
102 21 0 if ($i == 3) { }
163 11 42 if (exists $AS_SPARQL{&refaddr($self)}) { }
276 1 6 unless scalar @triples > 1
284 21 45 unless $n->isa('RDF::Trine::Node::Variable')
292 22 68 $i == $j ? :
300 59 18 if $seen{$string}++
311 225 74 if ($conn[$j] == 1)
321 2 18 unless $connected[0][$i] == 1
335 3 2 if ($pattern->isa('RDF::Trine::Statement')) { }
2 0 elsif ($pattern->isa('RDF::Query::Algebra::BasicGraphPattern')) { }
337 2 3 if $t->subsumes($pattern)
343 4 2 if $t->subsumes($p)
367 0 0 if ($bf =~ /f/)
370 0 0 if ($n->isa('RDF::Query::Node::Variable')) { }
383 0 0 if ($counter <= 10)