| blib/lib/Datify/Path.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 15 | 25 | 60.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 81 | 0 | 0 | 340 | $ref && $ref eq 'ARRAY' |
| 198 | 0 | 0 | 0 | $ref eq 'REF' && 'REF' ne &Scalar::Util::reftype($$_) |
| line | l | !l | condition |
|---|---|---|---|
| 39 | 18 | 174 | $self->_cache_get($_) // [$self->_scalar($_)] |
| 67 | 169 | 0 | $self->get('datify_options') // {} |
| 219 | 57 | 6 | $self->{'_position'} //= [] |
| 221 | 57 | 6 | $pos // '' |
| 229 | 73 | 0 | $self->{'_cache'} //= {} |
| 230 | 73 | 0 | $_cache->{$refaddr} //= [[\$self->_cache_position]] |
| 241 | 75 | 6 | $self->{'_cache'} //= {} |
| 255 | 4 | 0 | $self->{'_cache'} //= {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 244 | 18 | 0 | 2 | $entry->[$repr] // Carp::croak('Recursive structures not allowed at ', $self->_cache_position) |