Branch Coverage

blib/lib/RDF/Trine/Iterator/Bindings.pm
Criterion Covered Total %
branch 39 80 48.7


line true false branch
124 8 22 unless $row
153 0 3 if (my $o = $args{'orderby'})
158 0 0 if ($l->is_debug)
165 0 0 if (substr($a_sort, 0, length $req_sort) eq $req_sort) { }
0 0 elsif (substr($b_sort, 0, length $req_sort) eq $req_sort) { }
173 0 0 if ($a_common =~ qr/^([^!]+)[^!]*!\1/) { }
0 0 elsif ($b_common =~ qr/^([^!]+)[^!]*!\1/) { }
230 12 12 if ($need_new_a)
237 3 21 unless $rowa
241 80 32 $row->{$_} ? :
249 68 20 if defined $n
251 24 20 if ($defined == 2)
253 16 8 unless ($equal)
261 0 12 if ($l->is_debug)
297 4 0 $self->open ? :
298 4 0 if (exists $row->{$name}) { }
328 2 0 $self->open ? :
368 4 1 if scalar @$names
398 3 0 if $name
403 0 2 scalar @sorted ? :
404 0 2 $self->_args->{'distinct'} ? :
414 0 0 if $max_result_size and ++$count >= $max_result_size
451 0 0 &blessed($_) ? :
452 0 0 if $max_result_size and ++$count >= $max_result_size
454 0 0 if (ref $rescount)
464 0 0 if ('ARRAY' eq ref $rows[0]) { }
465 0 0 if (@$headers == @{$rows[0];}) { }
505 1 865 if (scalar @names == 1 and $names[0]->can('triples')) { }
511 3 3 if (scalar @queue)
515 1 2 unless defined $row
518 3 1 if ($st->rdf_compatible)
528 865 1649 unless defined $row
530 226 1423 scalar @values == 3 || !defined($values[3]) ? :
554 3 0 if $name
565 1 0 if ($t)
585 0 2 if $max_result_size and ++$count >= $max_result_size
610 0 0 if (not defined $node) { }
0 0 elsif ($node->isa('RDF::Trine::Node::Resource')) { }
0 0 elsif ($node->isa('RDF::Trine::Node::Literal')) { }
0 0 elsif ($node->isa('RDF::Trine::Node::Blank')) { }