blib/lib/Sub/HandlesVia/Toolkit.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 12 | 58.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
95 | 115 | 0 | 223 | ref $spec->{'traits'} and not $spec->{'handles_via'} |
116 | 2 | 321 | 15 | $default_type{$joined} and not exists $spec->{'isa'} |
232 | 0 | 0 | 0 | not $default and $handler |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
18 | 252 | 93 | 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(+(\$_,\$_),\@\$_)}")) |