Branch Coverage

blib/lib/RDF/Query/Plan/Join/PushDownNestedLoop.pm
Criterion Covered Total %
branch 26 46 56.5


line true false branch
50 0 31 if ($rhs->isa('RDF::Query::Plan::SubSelect'))
55 1 19 if (not $opt and $rhs->isa('RDF::Query::Plan::Join') and $rhs->optional)
63 0 30 if (scalar @aggs)
79 0 30 if ($self->state == $self->OPEN)
89 30 0 if ($self->lhs->state == $self->OPEN) { }
109 0 89 unless ($self->state == $self->OPEN)
118 115 47 if ($self->[0]{'needs_new_outer'})
121 90 25 if (ref $outer) { }
126 0 90 if ($self->[0]{'inner'})
133 0 90 if ($inner->state == $inner->OPEN)
147 50 16 if (defined(my $joined = $inner_row->join($self->[0]{'outer_row'}))) { }
149 0 50 if ($l->is_trace)
154 0 50 if (my $d = $self->delegate)
160 0 16 if ($opt)
162 0 0 if (my $d = $self->delegate)
171 87 0 if ($self->[0]{'inner'}->state == $self->OPEN)
175 14 73 if ($opt and $self->[0]{'inner_count'} == 0)
176 0 14 if (my $d = $self->delegate)
190 0 30 unless ($self->state == $self->OPEN)
197 30 0 if (&blessed(scalar $self->lhs) and $self->lhs->state == $self->lhs->OPEN)
211 2 5 $self->optional ? :
222 0 0 $self->optional ? :
244 0 0 if ($self->[0]{'stats'})