blib/lib/Data/Object/Role/Hash.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 25 | 37 | 67.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
127 | 9 | 9 | 0 | $adr and $tmp->{$adr} |
11 | 2 | 2 | $obj and $obj->isa('Data::Object::Hash') | |
9 | 2 | 0 | $obj and $obj->isa('Data::Object::Array') | |
208 | 0 | 0 | 16 | $hash and $path |
0 | 16 | 0 | $hash and $path and 'HASH' eq ref $hash || &blessed($hash) && $hash->isa('HASH') | |
218 | 1 | 10 | 0 | $next and $hash->{$next} |
221 | 1 | 7 | 0 | $next and $hash->{$next} |
249 | 4 | 1 | 0 | ref $rprop eq 'HASH' && ref $lprop eq 'HASH' |
line | l | !l | condition |
---|---|---|---|
119 | 16 | 2 | $store ||= {} |
120 | 16 | 2 | $cache ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
127 | 3 | 0 | 15 | $ref eq 'HASH' or $obj and $obj->isa('Data::Object::Hash') |
2 | 0 | 11 | $ref eq 'ARRAY' or $obj and $obj->isa('Data::Object::Array') | |
208 | 5 | 0 | 11 | 'HASH' eq ref $hash || &blessed($hash) && $hash->isa('HASH') |