blib/lib/Callback.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 20 | 75.0 |
line | true | false | branch |
---|---|---|---|
18 | 10 | 6 | if (ref $func ne 'CODE' and UNIVERSAL::isa($func, 'UNIVERSAL')) |
19 | 2 | 8 | if ($func->isa('Callback')) { } |
20 | 1 | 1 | unless @args |
28 | 1 | 7 | unless (defined $func) |
51 | 0 | 15 | if (wantarray) { } |
57 | 0 | 15 | if $@ |
58 | 0 | 15 | if wantarray |
79 | 0 | 2 | if $cloning |
82 | 1 | 1 | unless exists $copy{'METHOD'} |
97 | 0 | 1 | unless defined $func |