Condition Coverage

blib/lib/RPC/Switch/Client.pm
Criterion Covered Total %
condition 0 80 0.0


and 3 conditions

line !l l&&!r l&&r condition
204 0 0 0 $self->{'auth'} && !$self->ioloop->{'__exit__'}
243 0 0 0 $status and $status eq "RES_WAIT"
344 0 0 0 $self->{'json'} and ref $outargs
381 0 0 0 $status and $status eq "RES_WAIT"
409 0 0 0 $self->{'json'} and ref $outargs
441 0 0 0 not $e and $r
0 0 0 not $e and $r and $r =~ /pong/u
728 0 0 0 $_[1]->() and $active
734 0 0 0 $_[1]->() and $reactor->is_running
736 0 0 0 $reactor->{'running'} &&= $reactor->{'running'} - 1

or 2 conditions

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
228 0 0 $w // ""
244 0 0 $status // "undef"
265 0 0 $args{'inargs'} // "{}"
267 0 0 $args{'resultcb'} // die("no result callback?")
268 0 0 $args{'timeout'} // 0
462 0 0 $self->lastping // 0
464 0 0 $self->lastping // 0

or 3 conditions

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")
432 0 0 0 $timeout //= $self->timeout
497 0 0 0 $args{'mode'} // ($args{'async'} ? "async" : "sync")
500 0 0 0 $args{'workername'} // "$self->{'who'} $host $0 $$"