| blib/lib/Net/Async/MCP/Server.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 19 | 26 | 73.0 |
| line | true | false | branch |
|---|---|---|---|
| 21 | 2 | 13 | if (exists $params{'name'}) |
| 91 | 0 | 1 | unless $tool |
| 93 | 1 | 0 | if (my $code = $tool->{'code'}) |
| 103 | 1 | 0 | if $tool->{'name'} eq $name |
| 112 | 0 | 8 | unless ref $request eq "HASH" |
| 118 | 2 | 6 | unless defined $method |
| 121 | 5 | 1 | if (defined $id) |
| 122 | 1 | 4 | if ($method eq 'initialize') { } |
| 1 | 3 | elsif ($method eq 'tools/list') { } | |
| 1 | 2 | elsif ($method eq 'tools/call') { } | |
| 1 | 1 | elsif ($method eq 'ping') { } | |
| 138 | 1 | 0 | if ($method eq 'notifications/initialized') { } |
| 0 | 0 | elsif ($method eq 'shutdown') { } |