Condition Coverage

blib/lib/JobCenter/Client/Mojo.pm
Criterion Covered Total %
condition 0 97 0.0


and 3 conditions

line !l l&&!r l&&r condition
200 0 0 0 $self->{'auth'} && !$self->ioloop->{'__exit__'}
492 0 0 0 $notifycb and ref $notifycb ne "CODE"
519 0 0 0 $notifycb and not $job_id2
0 0 0 $notifycb and not $job_id2 and not $outargs
522 0 0 0 $self->{'json'} and ref $outargs
546 0 0 0 not $e and $r
0 0 0 not $e and $r and $r =~ /pong/u
763 0 0 0 ref $outargs eq "HASH" and $outargs->{'error'}
769 0 0 0 $undo and $action->{'undocb'}
787 0 0 0 $undo and $action->{'undocb'}
810 0 0 0 $outargs and ref $outargs eq "HASH"
832 0 0 0 $_[1]->() and $active
838 0 0 0 $_[1]->() and $reactor->is_running
840 0 0 0 $reactor->{'running'} &&= $reactor->{'running'} - 1

or 2 conditions

line l !l condition
58 0 0 $args{'address'} // "127.0.0.1"
59 0 0 $args{'debug'} // 0
61 0 0 $args{'json'} // 1
63 0 0 $args{'method'} // "password"
64 0 0 $args{'port'} // 6522
65 0 0 $args{'timeout'} // 60
66 0 0 $args{'tls'} // 0
74 0 0 $args{'debug'} // 1
79 0 0 $args{'ping_timeout'} // 300
90 0 0 $args{'autoconnect'} //= 1
224 0 0 $w // ""
276 0 0 $args{'inargs'} // "{}"
277 0 0 $args{'cb1'} // die("no call callback?")
278 0 0 $args{'cb2'} // die("no result callback?")
566 0 0 $self->lastping // 0
568 0 0 $self->lastping // 0
668 0 0 $args{'addenv'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
60 0 0 0 $args{'ioloop'} // "Mojo::IOLoop"->singleton
62 0 0 0 $args{'log'} // "Mojo::Log"->new("level", $debug ? "debug" : "info")
79 0 0 0 $args{'jsonobject'} // "JSON::MaybeXS"->new("utf8", 1, "allow_nonref", 1)
279 0 0 0 $args{'timeout'} // $self->timeout * 5
537 0 0 0 $timeout //= $self->timeout
633 0 0 0 $args{'mode'} // ($args{'async'} ? "async" : "sync")
637 0 0 0 $args{'workername'} // "$self->{'who'} $host $0 ${$}"