| blib/lib/Class/MakeMethods/Standard/Hash.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 19 | 39 | 48.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 290 | 1 | 3 | 1 | scalar @_ == 1 and ref $_[0] eq 'ARRAY' |
| 291 | 3 | 1 | 0 | $init and not defined $$self{$hash_key} |
| 389 | 3 | 1 | 0 | $init and not defined $$self{$hash_key} |
| 469 | 0 | 1 | 0 | $init and not $class |
| 477 | 0 | 1 | 0 | $class and not UNIVERSAL::isa($value, $class) |
| 482 | 0 | 2 | 0 | $init and not defined $$self{$hash_key} |
| line | l | !l | condition |
|---|---|---|---|
| 113 | 0 | 8 | $$_{'defaults'} || {} |
| 303 | 2 | 2 | $$self{$hash_key} ||= [] |
| 472 | 0 | 1 | $$_{'new_method'} || 'new' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 120 | 0 | 0 | 0 | ref $callee || $callee |
| 175 | 4 | 30 | 0 | $$_{'hash_key'} || $$_{'name'} |
| 286 | 0 | 2 | 0 | $$_{'hash_key'} || $$_{'name'} |
| 384 | 0 | 2 | 0 | $$_{'hash_key'} || $$_{'name'} |
| 466 | 0 | 1 | 0 | $$_{'hash_key'} || $$_{'name'} |