blib/lib/JobCenter/Client/Mojo.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 97 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
188 | 0 | 0 | 0 | $self->{'auth'} && !$self->ioloop->{'__exit__'} |
481 | 0 | 0 | 0 | $notifycb and ref $notifycb ne 'CODE' |
506 | 0 | 0 | 0 | $notifycb and not $job_id2 |
0 | 0 | 0 | $notifycb and not $job_id2 and not $outargs | |
509 | 0 | 0 | 0 | $self->{'json'} and ref $outargs |
533 | 0 | 0 | 0 | not $e and $r |
0 | 0 | 0 | not $e and $r and $r =~ /pong/u | |
750 | 0 | 0 | 0 | ref $outargs eq 'HASH' and $outargs->{'error'} |
756 | 0 | 0 | 0 | $undo and $action->{'undocb'} |
774 | 0 | 0 | 0 | $undo and $action->{'undocb'} |
797 | 0 | 0 | 0 | $outargs and ref $outargs eq 'HASH' |
819 | 0 | 0 | 0 | $_[1]->() and $active |
825 | 0 | 0 | 0 | $_[1]->() and $reactor->is_running |
827 | 0 | 0 | 0 | $reactor->{'running'} &&= $reactor->{'running'} - 1 |
line | l | !l | condition |
---|---|---|---|
57 | 0 | 0 | $args{'address'} // '127.0.0.1' |
58 | 0 | 0 | $args{'debug'} // 0 |
60 | 0 | 0 | $args{'json'} // 1 |
62 | 0 | 0 | $args{'method'} // 'password' |
63 | 0 | 0 | $args{'port'} // 6522 |
64 | 0 | 0 | $args{'timeout'} // 60 |
65 | 0 | 0 | $args{'tls'} // 0 |
73 | 0 | 0 | $args{'debug'} // 1 |
78 | 0 | 0 | $args{'ping_timeout'} // 300 |
89 | 0 | 0 | $args{'autoconnect'} //= 1 |
212 | 0 | 0 | $w // '' |
264 | 0 | 0 | $args{'inargs'} // '{}' |
265 | 0 | 0 | $args{'cb1'} // die('no call callback?') |
266 | 0 | 0 | $args{'cb2'} // die('no result callback?') |
553 | 0 | 0 | $self->lastping // 0 |
555 | 0 | 0 | $self->lastping // 0 |
655 | 0 | 0 | $args{'addenv'} // 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
59 | 0 | 0 | 0 | $args{'ioloop'} // 'Mojo::IOLoop'->singleton |
61 | 0 | 0 | 0 | $args{'log'} // 'Mojo::Log'->new('level', $debug ? 'debug' : 'info') |
78 | 0 | 0 | 0 | $args{'jsonobject'} // 'JSON::MaybeXS'->new('utf8', 1, 'allow_nonref', 1) |
267 | 0 | 0 | 0 | $args{'timeout'} // $self->timeout * 5 |
524 | 0 | 0 | 0 | $timeout //= $self->timeout |
620 | 0 | 0 | 0 | $args{'mode'} // ($args{'async'} ? 'async' : 'sync') |
624 | 0 | 0 | 0 | $args{'workername'} // "$self->{'who'} $host $0 $$" |