| blib/lib/Class/Cloneable.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 25 | 27 | 92.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 40 | 1 | 1 | 4 | blessed $to_clone and $to_clone->isa('Class::Cloneable') |
| 66 | 2 | 1 | 44 | ref $cache and ref $cache eq 'HASH' |
| 2 | 47 | 0 | ref $to_clone and (ref $cache and ref $cache eq 'HASH') | |
| 93 | 2 | 1 | 39 | ref $cache and ref $cache eq 'HASH' |
| 2 | 42 | 0 | ref $to_clone and (ref $cache and ref $cache eq 'HASH') |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 26 | 8 | 50 | 2 | UNIVERSAL::isa((caller)[0], 'Class::Cloneable') or UNIVERSAL::isa((caller)[0], 'Class::Cloneable::Util') |
| 62 | 5 | 44 | 2 | UNIVERSAL::isa((caller)[0], 'Class::Cloneable') or UNIVERSAL::isa((caller)[0], 'Class::Cloneable::Util') |
| 89 | 5 | 39 | 2 | UNIVERSAL::isa((caller)[0], 'Class::Cloneable') or UNIVERSAL::isa((caller)[0], 'Class::Cloneable::Util') |
| 100 | 2 | 4 | 4 | $ref_type eq 'REF' or $ref_type eq 'SCALAR' |