blib/lib/JSON/RPC2/AnyEvent/Server/Handle.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 20 | 30.0 |
line | true | false | branch |
---|---|---|---|
21 | 0 | 1 | unless &blessed($srv) and $srv->isa('JSON::RPC2::AnyEvent::Server') |
23 | 1 | 0 | unless (&blessed($hdl) and $hdl->isa('AnyEvent::Handle')) |
24 | 0 | 1 | unless $hdl = &openhandle($hdl) |
38 | 2 | 0 | if defined $res |
46 | 1 | 0 | if $on_end |
51 | 0 | 0 | if ($! == 74) { } |
0 | 0 | elsif ($self->{'on_error'}) { } | |
56 | 0 | 0 | if $fatal |
58 | 0 | 0 | if $fatal |
78 | 0 | 2 | unless &reftype($code) eq 'CODE' |