| blib/lib/Class/Std.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 34 | 45 | 75.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 55 | 118 | 364 | 63 | $candidate and $candidate == $sub_ref |
| 422 | 11 | 12 | 0 | @_ > 1 and ref $arg_ref ne 'HASH' |
| 449 | 14 | 2 | 49 | defined $$attr_ref{'init_arg'} and exists $$arg_set{$$attr_ref{'init_arg'}} |
| line | l | !l | condition |
|---|---|---|---|
| 37 | 1 | 59 | *{$target;}{'CODE'} || sub { return @_[2 .. $#_]; } |
| 136 | 4 | 6 | $name || $init_arg || $getter || $setter || '????' |
| 429 | 12 | 11 | $arg_ref ||= {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 115 | 47 | 7 | 5 | _extract_init_arg($config) || $name |
| 117 | 17 | 6 | 36 | _extract_get($config) || $name |
| 123 | 3 | 6 | 50 | _extract_set($config) || $name |
| 288 | 0 | 6 | 5 | not $caller or $caller->isa($package) |
| 6 | 1 | 4 | not $caller or $caller->isa($package) or $package->isa($caller) | |
| 321 | 10 | 0 | 0 | ref $_[0] || $_[0] |
| 354 | 0 | 0 | 0 | $other_package->isa($package) or $package->isa($other_package) |
| 369 | 2 | 0 | 0 | ref $_[0] || $_[0] |
| 534 | 8 | 12 | 0 | ref $invocant || $invocant |
| 567 | 12879 | 7 | 0 | ref $invocant || $invocant |