Branch Coverage

blib/lib/RDF/Query/Plan/ComputedStatement.pm
Criterion Covered Total %
branch 22 50 44.0


line true false branch
61 4 4 if (&blessed($node) and $node->isa('RDF::Trine::Node::Variable'))
65 0 4 if ($counts{$name} >= 2)
73 0 2 if (defined $dup_var)
76 0 0 if (&blessed($var) and $var->isa('RDF::Trine::Node::Variable'))
78 0 0 if ($name eq $dup_var)
87 0 2 if (@positions)
102 0 1 if ($self->state == $self->OPEN)
111 1 0 unless ($self->[2])
116 1 0 if (%$bound)
118 1 2 unless $nodes[$i]->isa('RDF::Trine::Node::Variable')
119 1 1 unless &blessed($$bound{$nodes[$i]->name})
128 0 1 unless (scalar @$csg)
136 1 0 if (&blessed($iter)) { }
154 0 4 unless ($self->state == $self->OPEN)
161 0 3 if ($l->is_trace)
164 0 3 if (my $pos = $self->[0]{'dups'})
170 0 0 unless ($first->equal($row->$p))
184 3 0 if ($row->can('label'))
185 0 3 if (my $o = $row->label('origin'))
191 0 3 if (my $d = $self->delegate)
205 0 1 unless ($self->state == $self->OPEN)
224 0 2 if ($self->[2]) { }
240 0 0 if ($self->[2]) { }
259 0 0 if ($n->isa('RDF::Trine::Node::Variable')) { }
260 0 0 if (my $b = $$bound{$n->name}) { }