| blib/lib/Class/MakeMethods/Standard/Array.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 18 | 36 | 50.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 341 | 2 | 2 | 0 | scalar @_ == 1 and ref $_[0] eq 'ARRAY' |
| 342 | 0 | 1 | 1 | $init and not defined $$self[$index] |
| 434 | 0 | 1 | 1 | $init and not defined $$self[$index] |
| 517 | 0 | 2 | 0 | $init and not $class |
| 525 | 0 | 1 | 0 | $class and not UNIVERSAL::isa($value, $class) |
| 530 | 0 | 3 | 1 | $init and not defined $$self[$index] |
| line | l | !l | condition |
|---|---|---|---|
| 168 | 0 | 2 | $$_{'defaults'} || [] |
| 354 | 3 | 1 | $$self[$index] ||= [] |
| 520 | 0 | 2 | $$_{'new_method'} || 'new' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 228 | 0 | 0 | 2 | $$_{'array_index'} || _array_index($class->_context('TargetClass'), $name) |
| 336 | 0 | 2 | 0 | $$_{'array_index'} || _array_index($class->_context('TargetClass'), $name) |
| 428 | 0 | 2 | 0 | $$_{'array_index'} || _array_index($class->_context('TargetClass'), $name) |
| 513 | 0 | 2 | 0 | $$_{'array_index'} || _array_index($class->_context('TargetClass'), $name) |