blib/lib/Mojo/WebSocketProxy/Backend/JobAsync.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 20 | 35.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
127 | 0 | 0 | 2 | $c and $c->tx |
line | l | !l | condition |
---|---|---|---|
107 | 0 | 2 | $req_storage->{'call_params'} ||= {} |
111 | 2 | 0 | delete $req_storage->{'before_get_rpc_response'} || [] |
112 | 2 | 0 | delete $req_storage->{'after_got_rpc_response'} || [] |
113 | 2 | 0 | delete $req_storage->{'before_call'} || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
67 | 1 | 0 | 0 | $self->{'client'} //= do { unless ($jobman) { $loop //= do { require IO::Async::Loop::Mojo; 'IO::Async::Loop::Mojo'->new }; $loop->add($jobman = 'Job::Async'->new); }; $jobman->client } |
70 | 0 | 0 | 0 | $loop //= do { require IO::Async::Loop::Mojo; 'IO::Async::Loop::Mojo'->new } |
105 | 0 | 2 | 0 | $req_storage->{'msg_type'} ||= $req_storage->{'method'} |