| blib/lib/Data/Object.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 27 | 34 | 79.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 64 | 0 | 0 | 4 | $name and defined $expr |
| 93 | 0 | 0 | 933 | $class && $class =~ /^\w(?:[\w:']*\w)?$/ |
| 223 | 6 | 413 | 45 | $type and $type eq 'HASH' |
| 230 | 6 | 332 | 126 | $type and $type eq 'ARRAY' |
| 310 | 86 | 925 | 6 | $object and 'HASH' eq ref $object |
| 317 | 86 | 923 | 8 | $object and 'ARRAY' eq ref $object |
| line | l | !l | condition |
|---|---|---|---|
| 81 | 4 | 1 | $code // 'return(@_)' |
| 279 | 6 | 0 | &reftype($object) // '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 98 | 765 | 167 | 1 | $class->can('new') || eval "require $class; 1" |
| 102 | 1 | 0 | 932 | $error or $failed |
| 1 | 0 | 932 | $error or $failed or not $loaded | |
| 278 | 3 | 3 | 6 | $type eq 'SCALAR' or $type eq 'UNIVERSAL' |