Branch Coverage

blib/lib/Iterator/Flex/Sequence.pm
Criterion Covered Total %
branch 32 34 94.1


line true false branch
55 8 59 Ref::Util::XS::is_hashref($args[-1]) ? :
57 0 67 if @args < 1 or @args > 3
61 7 60 if @args == 3
72 0 75 unless &List::Util::all(sub { &Scalar::Util::looks_like_number($_); } )
82 67 8 if (not defined $step) { }
84 46 21 unless defined $begin
85 60 7 unless defined $next
89 100 932 if ($next > $end)
90 72 28 unless $self->is_exhausted
115 1 7 if $begin < $end and $step <= 0 or $begin > $end and $step >= 0
119 6 1 unless defined $next
120 6 1 unless defined $iter
140 16 17 if ($next > $end)
141 6 10 unless $self->is_exhausted
151 4 4 if ($next < $end)
152 2 2 unless $self->is_exhausted
161 5 2 $begin < $end ? :