Branch Coverage

blib/lib/RDF/Trine/Store/SPARQL.pm
Criterion Covered Total %
branch 0 96 0.0


line true false branch
143 0 0 if (scalar @_ >= 4)
145 0 0 if (&blessed($g) and not $g->is_variable and not $g->is_nil)
156 0 0 if (not &blessed($nodes[$i]) or $nodes[$i]->is_variable)
161 0 0 $use_quad ? :
162 0 0 $use_quad ? :
165 0 0 if ($use_quad) { }
168 0 0 $_->is_variable ? :
169 0 0 $nodes[3]->is_variable ? :
180 0 0 $_->is_variable ? :
187 0 0 unless $row
190 0 0 if ($nodes[$i]->is_variable) { }
215 0 0 if ($bgp->isa('RDF::Trine::Statement'))
228 0 0 $n->is_variable ? :
234 0 0 if (@quads)
245 0 0 if (my $o = delete $args{'orderby'})
251 0 0 if (@order)
273 0 0 unless $row
290 0 0 unless (&blessed($st) and $st->isa('RDF::Trine::Statement'))
294 0 0 if ($self->_bulk_ops) { }
310 0 0 if ($st->isa('RDF::Trine::Statement::Quad')) { }
331 0 0 unless (&blessed($st) and $st->isa('RDF::Trine::Statement'))
335 0 0 if ($self->_bulk_ops) { }
351 0 0 if ($st->isa('RDF::Trine::Statement::Quad')) { }
371 0 0 if ($st->isa('RDF::Trine::Statement')) { }
376 0 0 if ($context) { }
383 0 0 unless (&blessed($st) and $st->isa('RDF::Trine::Statement'))
387 0 0 if ($self->_bulk_ops) { }
404 0 0 if ($st->isa('RDF::Trine::Statement::Quad')) { }
405 0 0 $_->is_variable ? :
407 0 0 $_->is_variable ? :
430 0 0 if (scalar @_ >= 4)
434 0 0 if (&blessed($g) and not $g->is_variable)
442 0 0 unless (defined $node)
449 0 0 $_->is_variable ? :
450 0 0 if ($use_quad) { }
452 0 0 if ($nodes[3]->isa('RDF::Trine::Node::Variable')) { }
0 0 elsif ($nodes[3]->isa('RDF::Trine::Node::Nil')) { }
455 0 0 $_->is_variable ? :
457 0 0 $nodes[3]->is_variable ? :
467 0 0 unless $count
510 0 0 if (@_) { }
533 0 0 $self->{'url'} =~ /\?/ ? :
536 0 0 if ($response->is_success) { }
559 0 0 if ($response->is_success) { }
583 0 0 unless $self->{'ops'}
0 0 if (scalar @{[] unless $self->{'ops'};})
601 0 0 unless scalar @_
611 0 0 if ($op->[0] eq $bulkops[$#bulkops][0]) { }