| blib/lib/Data/CompactReadonly/V0/Array.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 16 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 19 | 20 | 31 | if ($root->_tied) { } |
| 48 | 20 | 70 | if (my $ptr = $class->_get_already_seen(%args, 'data', $this_data)) { } |
| 61 | 3 | 4 | if ($@ =~ /out of range/) { } |
| 2 | 2 | elsif ($@) { } | |
| 73 | 2 | 132 | if $element < 0 |
| 75 | 3 | 129 | if $element =~ /[^0-9]/ |
| 77 | 6 | 123 | if $element > $self->count - 1 |
| 91 | 1 | 1 | if $self->count == 0 |