| blib/lib/Net/Async/MCP.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 18 | 55.5 |
| line | true | false | branch |
|---|---|---|---|
| 17 | 2 | 4 | if exists $params->{$key} |
| 26 | 0 | 6 | if exists $params{$key} |
| 39 | 2 | 2 | if $self->{'transport'} |
| 41 | 1 | 1 | if ($self->{'server'}) { } |
| 1 | 0 | elsif ($self->{'command'}) { } | |
| 0 | 0 | elsif ($self->{'url'}) { } | |
| 48 | 0 | 1 | unless $self->loop |
| 58 | 0 | 0 | unless $self->loop |
| 160 | 1 | 0 | if ($self->{'transport'} and $self->{'transport'}->can("close")) |