| blib/lib/Data/Object.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 26 | 31 | 83.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 70 | 0 | 0 | 892 | $class && $class =~ /^\w(?:[\w:']*\w)?$/ |
| 195 | 2 | 410 | 34 | $type and $type eq 'HASH' |
| 202 | 2 | 321 | 123 | $type and $type eq 'ARRAY' |
| 282 | 85 | 905 | 6 | $object and 'HASH' eq ref $object |
| 289 | 85 | 903 | 8 | $object and 'ARRAY' eq ref $object |
| line | l | !l | condition |
|---|---|---|---|
| 59 | 4 | 1 | $code // 'return(@_)' |
| 251 | 6 | 0 | reftype $object // '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 75 | 730 | 161 | 1 | $class->can('new') || eval "require $class; 1" |
| 79 | 1 | 0 | 891 | $error or $failed |
| 1 | 0 | 891 | $error or $failed or not $loaded | |
| 250 | 3 | 3 | 6 | $type eq 'SCALAR' or $type eq 'UNIVERSAL' |