| blib/lib/Array/Circular.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 26 | 30 | 86.6 |
| line | true | false | branch |
|---|---|---|---|
| 32 | 113 | 4109 | if $args |
| 45 | 110 | 445 | if defined $idx |
| 51 | 110 | 349 | if defined $new_ct |
| 57 | 10 | 591 | unless @$self |
| 58 | 0 | 591 | if defined $num and $num == 0 |
| 59 | 2 | 589 | if ($num and $num < 0) { } |
| 103 | 486 | elsif ($num) { } | |
| 68 | 126 | 465 | if ($self->me->{'current'} == $last_index) |
| 77 | 0 | 573 | unless @$self |
| 79 | 2 | 571 | if ($num and $num < 0) { } |
| 103 | 468 | elsif ($num) { } | |
| 87 | 116 | 457 | if ($self->me->{'current'} == 0) |
| 127 | 10 | 100 | if $count == 0 |
| 128 | 100 | 0 | $count > 0 ? : |
| 129 | 100 | 0 | $count > 0 ? : |