Branch Coverage

blib/lib/RDF/Query/Plan/Path.pm
Criterion Covered Total %
branch 26 94 27.6


line true false branch
59 4 0 if $_->isa('RDF::Query::Node::Variable')
73 0 2 if ($self->state == $self->OPEN)
84 0 2 if (%$bound)
86 0 0 unless &blessed($_)
87 0 0 unless $_->isa('RDF::Trine::Node::Variable')
88 0 0 unless &blessed($$bound{$_->name})
94 4 0 if &blessed($_)
104 0 2 if ($op eq 'NegatedPropertySet') { }
1 1 elsif ($op eq 'ZeroOrMorePath') { }
1 0 elsif ($op eq 'OneOrMorePath') { }
0 0 elsif ($op eq 'ZeroLengthPath') { }
122 0 0 unless defined $graph
137 0 0 if (my $p = $$row{$var->name})
138 0 0 if exists $not{$p->uri_value}
148 1 0 unless defined $graph
151 2 0 if &blessed($_)
152 1 0 if (scalar @vars == 2) { }
0 0 elsif (scalar @vars == 1) { }
175 0 0 if ($start->isa('RDF::Trine::Node::Variable'))
199 0 0 if ($term->equal($end))
212 1 0 unless defined $graph
215 2 0 if &blessed($_)
216 1 0 if (scalar @vars == 2) { }
0 0 elsif (scalar @vars == 1) { }
242 0 0 if ($start->isa('RDF::Trine::Node::Variable'))
273 0 0 if ($term->equal($end))
290 38 0 unless defined $graph
296 38 12 unless $r
308 0 25 if exists $$v{$term->as_string}
317 0 25 unless ($self->distinct)
326 0 0 unless defined $graph
329 0 0 if &blessed($_)
330 0 0 if (scalar @vars == 2) { }
0 0 elsif (scalar @vars == 1) { }
344 0 0 if &blessed($_)
349 0 0 if ($self->start->equal($self->end))
366 0 27 unless ($self->state == $self->OPEN)
370 25 2 if (scalar @{$self->[0]{'results'};})
372 25 0 if defined $result
373 0 25 if (my $d = $self->delegate)
388 0 2 unless ($self->state == $self->OPEN)
505 10 0 if (&blessed($path)) { }
529 0 0 if ($type eq 'NegatedPropertySet') { }
0 0 elsif ($type =~ /^ZeroOrMorePath|OneOrMorePath|ZeroLengthPath$/) { }
548 0 0 if (&blessed($path))
553 0 0 if ($op eq '/') { }
0 0 elsif ($op =~ /^[?+*]$/) { }