blib/lib/Range/Iterator.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 18 | 94.4 |
line | true | false | branch |
---|---|---|---|
25 | 4 | 3 | if (&looks_like_number($start) and &looks_like_number($end)) { } |
27 | 1 | 3 | if $start > $end |
29 | 0 | 3 | if $step != 1 |
30 | 1 | 2 | if $start gt $end |
38 | 13 | 30 | if ($self->{'_num'}) { } |
39 | 4 | 9 | if $self->{'_cur'} > $self->{'end'} |
40 | 4 | 9 | if $self->{'_ended'} |
45 | 3 | 27 | if $self->{'_ended'} |
46 | 2 | 25 | if $self->{'_cur'} ge $self->{'end'} |