| blib/lib/JobCenter/Client/Mojo.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 97 | 0.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 187 | 0 | 0 | 0 | $self->{'auth'} && !$self->ioloop->{'__exit__'} |
| 442 | 0 | 0 | 0 | $notifycb and ref $notifycb ne 'CODE' |
| 467 | 0 | 0 | 0 | $notifycb and not $job_id2 |
| 0 | 0 | 0 | $notifycb and not $job_id2 and not $outargs | |
| 470 | 0 | 0 | 0 | $self->{'json'} and ref $outargs |
| 494 | 0 | 0 | 0 | not $e and $r |
| 0 | 0 | 0 | not $e and $r and $r =~ /pong/u | |
| 711 | 0 | 0 | 0 | ref $outargs eq 'HASH' and $outargs->{'error'} |
| 717 | 0 | 0 | 0 | $undo and $action->{'undocb'} |
| 735 | 0 | 0 | 0 | $undo and $action->{'undocb'} |
| 758 | 0 | 0 | 0 | $outargs and ref $outargs eq 'HASH' |
| 780 | 0 | 0 | 0 | $_[1]->() and $active |
| 786 | 0 | 0 | 0 | $_[1]->() and $reactor->is_running |
| 788 | 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 |
| 77 | 0 | 0 | $args{'ping_timeout'} // 300 |
| 88 | 0 | 0 | $args{'autoconnect'} //= 1 |
| 211 | 0 | 0 | $w // '' |
| 263 | 0 | 0 | $args{'inargs'} // '{}' |
| 264 | 0 | 0 | $args{'cb1'} // die('no call callback?') |
| 265 | 0 | 0 | $args{'cb2'} // die('no result callback?') |
| 514 | 0 | 0 | $self->lastping // 0 |
| 516 | 0 | 0 | $self->lastping // 0 |
| 616 | 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') |
| 77 | 0 | 0 | 0 | $args{'jsonobject'} // 'JSON::MaybeXS'->new |
| 266 | 0 | 0 | 0 | $args{'timeout'} // $self->timeout * 5 |
| 485 | 0 | 0 | 0 | $timeout //= $self->timeout |
| 581 | 0 | 0 | 0 | $args{'mode'} // ($args{'async'} ? 'async' : 'sync') |
| 585 | 0 | 0 | 0 | $args{'workername'} // "$self->{'who'} $host $0 $$" |