Branch Coverage

blib/lib/RDF/Query/Plan/BasicGraphPattern.pm
Criterion Covered Total %
branch 19 34 55.8


line true false branch
48 206 0 scalar @nodes == 4 ? :
67 0 78 if ($self->state == $self->OPEN)
76 5 73 if (%$bound) { }
82 14 26 unless $nodes[$i]->isa('RDF::Trine::Node::Variable')
83 17 9 unless &blessed($$bound{$nodes[$i]->name})
87 10 0 scalar @nodes == 4 ? :
96 210 0 if $_->isa('RDF::Trine::Statement::Quad')
97 0 78 scalar @tmp ? :
104 78 0 if (&blessed($iter)) { }
121 0 256 unless ($self->state == $self->OPEN)
128 0 256 unless $iter
130 4 190 if (ref(my $bound = $self->[0]{'bound'}))
133 0 194 if (&blessed($q))
138 0 0 if (&blessed($node))
139 0 0 if $node->isa('RDF::Trine::Node::Nil')
143 0 194 if (my $d = $self->delegate)
157 0 78 unless ($self->state == $self->OPEN)