| blib/lib/Array/Circular.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 23 | 30 | 76.6 |
| line | true | false | branch |
|---|---|---|---|
| 21 | 3 | 2967 | if $args |
| 34 | 0 | 110 | if defined $idx |
| 40 | 0 | 19 | if defined $new_ct |
| 46 | 10 | 585 | unless @$self |
| 47 | 0 | 585 | if defined $num and $num == 0 |
| 48 | 102 | 483 | if ($num) |
| 49 | 1 | 101 | if $num < 0 |
| 56 | 125 | 459 | if ($self->me->{'current'} == $last_index) |
| 65 | 0 | 566 | unless @$self |
| 67 | 101 | 465 | if ($num) |
| 68 | 0 | 101 | if $num < 0 |
| 73 | 115 | 451 | if ($self->me->{'current'} == 0) |
| 113 | 10 | 100 | if $count == 0 |
| 114 | 100 | 0 | $count > 0 ? : |
| 115 | 100 | 0 | $count > 0 ? : |