Branch Coverage

blib/lib/RDF/Query/Plan/Quad.pm
Criterion Covered Total %
branch 29 46 63.0


line true false branch
66 186 342 if (&blessed($node) and $node->isa('RDF::Trine::Node::Variable'))
70 1 185 if ($counts{$name} >= 2)
78 1 131 if (@dup_vars)
82 3 1 if (&blessed($var) and $var->isa('RDF::Trine::Node::Variable') || $var->isa('RDF::Trine::Node::Blank'))
83 0 3 $var->isa('RDF::Trine::Node::Blank') ? :
84 2 1 if ($name eq $dup_var)
94 1 131 if (%positions)
109 0 183 if ($self->state == $self->OPEN)
118 86 97 if (%$bound)
120 184 160 unless $quad[$i]->isa('RDF::Trine::Node::Variable')
121 75 85 unless &blessed($$bound{$quad[$i]->name})
134 183 0 if (&blessed($iter)) { }
151 0 341 unless ($self->state == $self->OPEN)
160 138 178 if (my $data = $self->[0]{'dups'})
166 137 1 unless ($first->equal($row->$p))
186 0 179 if ($row->can('label'))
187 0 0 if (my $o = $row->label('origin'))
192 0 179 if (my $d = $self->delegate)
207 0 182 unless ($self->state == $self->OPEN)
237 0 0 if ($n->isa('RDF::Trine::Node::Variable')) { }
238 0 0 if (my $b = $$bound{$n->name}) { }
316 0 0 if (@_)
324 0 0 $_->isa('RDF::Trine::Node::Nil') ? :