Branch Coverage

blib/lib/Attean/API/Iterator.pm
Criterion Covered Total %
branch 30 36 83.3


line true false branch
172 2 163 if (&blessed($block) and $block->does('Attean::Mapper')) { }
175 0 4 unless defined $item
183 356 503 if scalar @buffer
185 147 356 unless defined $item
194 101 64 if ($self->can("variables") and not exists $args{'variables'})
207 182 13 if ($self->can("variables") and not exists $args{'variables'})
217 182 1014 unless defined $item
219 500 514 if &$block($item)
238 2 1 if ($self->can("variables") and not exists $args{'variables'})
246 3 7 unless $limit
248 0 7 unless defined $item
259 0 0 if ($self->can("variables") and not exists $args{'variables'})
345 0 0 if ($item->does('Attean::API::Term')) { }
379 101 22 if (scalar @nodes == 1 and $nodes[0]->does("Attean::API::QuadPattern"))
388 419 73 if (&blessed($n))
397 216 15 $binding ? :
436 9 1 $_->does('Attean::API::Quad') ? :
458 7 2 if (my $j = $lhs->join($rhs))