Condition Coverage

blib/lib/Attean/API/Iterator.pm
Criterion Covered Total %
condition 14 23 60.8


and 3 conditions

line !l l&&!r l&&r condition
172 163 0 2 &blessed($block) and $block->does("Attean::Mapper")
194 8 56 101 $self->can("variables") and not exists $args{'variables'}
207 13 0 182 $self->can("variables") and not exists $args{'variables'}
238 1 0 2 $self->can("variables") and not exists $args{'variables'}
259 0 0 0 $self->can("variables") and not exists $args{'variables'}
379 14 8 101 scalar @nodes == 1 and $nodes[0]->does("Attean::API::QuadPattern")

or 2 conditions

line l !l condition
274 0 0 shift() // "Iterator item"

or 3 conditions

line l !l&&r !l&&!r condition
169 132 33 0 shift() || $self->item_type