| lib/Data/AsObject/Hash.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 9 | 24 | 37.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 36 | 19 | 0 | 0 | $key eq 'can' and defined $index |
| 19 | 0 | 0 | $key eq 'can' and defined $index and $index != /\d+/ | |
| 40 | 19 | 0 | 0 | $key eq 'isa' and defined $index |
| 19 | 0 | 0 | $key eq 'isa' and defined $index and $index != /\d+/ | |
| 66 | 12 | 0 | 5 | defined $index and $index =~ /\d+/ |
| 12 | 0 | 5 | defined $index and $index =~ /\d+/ and &$Data::AsObject::__check_type($data) eq 'ARRAY' | |
| 0 | 0 | 5 | defined $index and $index =~ /\d+/ and &$Data::AsObject::__check_type($data) eq 'ARRAY' and exists $$data[$index] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 41 | 0 | 0 | 0 | $index eq ref $self or $index eq 'Data::AsObject::Hash' |