| blib/lib/Class/Delegation.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 14 | 24 | 58.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 50 | 22 | 0 | 0 | $$delegator{'other'} and keys %$delegated |
| 69 | 2 | 0 | 4 | @to and @as |
| line | l | !l | condition |
|---|---|---|---|
| 33 | 1 | 0 | *{$symbol;}{'CODE'} || sub { croak("Could not delegate $Class::Delegation::AUTOLOAD"); } |
| 150 | 18 | 0 | $$args[0] || '' |
| 294 | 1 | 9 | ref $_ || 'SCALAR' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 83 | 1 | 0 | 0 | *{"${class}::DESTROY";}{'CODE'} or _delegators_for($class, 'DESTROY') |
| 111 | 24 | 0 | 0 | ref $self || $self |
| 152 | 10 | 2 | 2 | ref $to_val ne 'ARRAY' or ref $as_val ne 'ARRAY' |
| 12 | 2 | 0 | ref $to_val ne 'ARRAY' or ref $as_val ne 'ARRAY' or @$to_val == @$as_val |