| blib/lib/JSON/RPC/Simple/Dispatcher.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 23 | 43.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 85 | 0 | 3 | 0 | $target and $target->can('JSONRPC_ERROR') |
| 91 | 3 | 0 | 0 | $self->error_handler and not $new_error_obj |
| 150 | 0 | 0 | 0 | not defined $content_length and $request->can('headers') |
| 262 | 0 | 5 | 1 | $check_attrs and @$check_attrs |
| 5 | 0 | 1 | $check_attrs and @$check_attrs and ref $params eq 'ARRAY' |
| line | l | !l | condition |
|---|---|---|---|
| 116 | 0 | 3 | (shift())->{'errstr'} || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 208 | 5 | 1 | 0 | ref $params eq 'HASH' or ref $params eq 'ARRAY' |
| 238 | 0 | 1 | 0 | ref $target || $target |