Branch Coverage

blib/lib/RDF/Query/Plan/Construct.pm
Criterion Covered Total %
branch 22 34 64.7


line true false branch
48 0 4 unless (@$triples)
65 0 4 if ($self->state == $self->OPEN)
75 4 0 if ($plan->state == $self->OPEN) { }
91 0 29 unless ($self->state == $self->OPEN)
100 0 25 if (my $d = $self->delegate)
106 4 16 unless $row
109 0 16 if ($l->is_debug)
115 0 28 if ($l->is_debug)
120 36 48 if ($triple[$i]->isa('RDF::Trine::Node::Variable')) { }
16 32 elsif ($triple[$i]->isa('RDF::Trine::Node::Blank')) { }
125 8 8 unless (exists $self->[0]{'blank_map'}{$id})
133 3 81 unless (&blessed($_))
137 3 25 unless $ok
139 25 0 unless ($self->[0]{'seen'}{$st->as_string}++)
152 0 3 unless ($self->state == $self->OPEN)
158 3 0 if ($self->[1] and $self->[1]->state == $self->OPEN)
252 0 0 if (@_)