| blib/lib/RPC/Switch/Client.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 0 | 80 | 0.0 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 193 | 0 | 0 | 0 | $self->{'auth'} && !$self->ioloop->{'__exit__'} | 
| 232 | 0 | 0 | 0 | $status and $status eq 'RES_WAIT' | 
| 333 | 0 | 0 | 0 | $self->{'json'} and ref $outargs | 
| 370 | 0 | 0 | 0 | $status and $status eq 'RES_WAIT' | 
| 398 | 0 | 0 | 0 | $self->{'json'} and ref $outargs | 
| 430 | 0 | 0 | 0 | not $e and $r | 
| 0 | 0 | 0 | not $e and $r and $r =~ /pong/u | |
| 717 | 0 | 0 | 0 | $_[1]->() and $active | 
| 723 | 0 | 0 | 0 | $_[1]->() and $reactor->is_running | 
| 725 | 0 | 0 | 0 | $reactor->{'running'} &&= $reactor->{'running'} - 1 | 
| line | l | !l | condition | 
|---|---|---|---|
| 65 | 0 | 0 | $args{'debug'} // 0 | 
| 67 | 0 | 0 | $args{'address'} // '127.0.0.1' | 
| 71 | 0 | 0 | $args{'json'} // 1 | 
| 73 | 0 | 0 | $args{'ping_timeout'} // 300 | 
| 77 | 0 | 0 | $args{'method'} // 'password' | 
| 78 | 0 | 0 | $args{'port'} // 6551 | 
| 79 | 0 | 0 | $args{'timeout'} // 60 | 
| 80 | 0 | 0 | $args{'tls'} // 0 | 
| 86 | 0 | 0 | $args{'autoconnect'} // 1 | 
| 217 | 0 | 0 | $w // '' | 
| 233 | 0 | 0 | $status // 'undef' | 
| 254 | 0 | 0 | $args{'inargs'} // '{}' | 
| 256 | 0 | 0 | $args{'resultcb'} // die('no result callback?') | 
| 257 | 0 | 0 | $args{'timeout'} // 0 | 
| 451 | 0 | 0 | $self->lastping // 0 | 
| 453 | 0 | 0 | $self->lastping // 0 | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 73 | 0 | 0 | 0 | $args{'jsonobject'} // 'JSON::MaybeXS'->new('utf8', 1) | 
| 74 | 0 | 0 | 0 | $args{'ioloop'} // 'Mojo::IOLoop'->singleton | 
| 76 | 0 | 0 | 0 | $args{'log'} // 'Mojo::Log'->new('level', $debug ? 'debug' : 'info') | 
| 421 | 0 | 0 | 0 | $timeout //= $self->timeout | 
| 486 | 0 | 0 | 0 | $args{'mode'} // ($args{'async'} ? 'async' : 'sync') | 
| 489 | 0 | 0 | 0 | $args{'workername'} // "$self->{'who'} $host $0 $$" |