| blib/lib/Sub/HandlesVia/Toolkit.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 6 | 12 | 50.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 83 | 111 | 0 | 223 | ref $spec->{'traits'} and not $spec->{'handles_via'} |
| 100 | 0 | 321 | 13 | $default_type{$joined} and not exists $spec->{'isa'} |
| 199 | 0 | 0 | 0 | not $default and $handler |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 18 | 250 | 91 | 0 | $sig ||= compile_named_oo("target", &Str(), "attribute", &ArrayRef()->of(&Str() | &CodeRef())->plus_coercions(&Str() | &CodeRef(), "[\$_]"), "handles_via", &ArrayRef()->of(&Str())->plus_coercions(&Str(), "[\$_]"), "handles", &HashRef()->plus_coercions(&ArrayRef(), "+{map(+(\$_,\$_),\@\$_)}")) |