| blib/lib/Array/Circular.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 25 | 30 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 31 | 113 | 4067 | if $args |
| 44 | 110 | 440 | if defined $idx |
| 50 | 110 | 349 | if defined $new_ct |
| 56 | 10 | 585 | unless @$self |
| 57 | 0 | 585 | if defined $num and $num == 0 |
| 58 | 102 | 483 | if ($num) |
| 59 | 1 | 101 | if $num < 0 |
| 66 | 125 | 459 | if ($self->me->{'current'} == $last_index) |
| 75 | 0 | 566 | unless @$self |
| 77 | 101 | 465 | if ($num) |
| 78 | 0 | 101 | if $num < 0 |
| 83 | 115 | 451 | if ($self->me->{'current'} == 0) |
| 123 | 10 | 100 | if $count == 0 |
| 124 | 100 | 0 | $count > 0 ? : |
| 125 | 100 | 0 | $count > 0 ? : |