| lib/Dancer/RPCPlugin/DispatchFromPod.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 12 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 31 | 20 | 0 | if $package ne 'main' |
| 32 | 0 | 20 | if (my $error = $@) |
| 70 | 538 | 38 | unless $token->is_start and $token->is_tag('for') |
| 76 | 0 | 38 | unless $ntoken |
| 82 | 6 | 32 | if $ep_name ne $args{'endpoint'} |
| 85 | 31 | 1 | if (my $handler = $pkg->can($code_name)) { } |