| blib/lib/Centrifugo/Client.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 7 | 29 | 24.1 |
| line | l | !l | condition |
|---|---|---|---|
| 279 | 0 | 0 | warn "Couldn't connect to $URL : Status=" . $headers->{'Status'} and return |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 79 | 1 | 0 | 0 | $params{'debug'} && uc $params{'debug'} ne 'FALSE' |
| 148 | 0 | 0 | 1 | $body and ref $body eq 'HASH' |
| 0 | 0 | 1 | $body and ref $body eq 'HASH' and $body->{'client'} |
| line | l | !l | condition |
|---|---|---|---|
| 80 | 0 | 1 | $params{'authEndpoint'} || '/centrifuge/auth/' |
| 82 | 0 | 1 | $params{'max_alive_period'} || 0 |
| 83 | 0 | 1 | $params{'refresh_period'} || 10 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 121 | 0 | 1 | 0 | $PARAMS{'uid'} || _generate_random_id() |
| 226 | 0 | 0 | 0 | $PARAMS{'uid'} || _generate_random_id() |
| 292 | 0 | 0 | 0 | $PARAMS{'uid'} || _generate_random_id() |
| 351 | 0 | 0 | 0 | $PARAMS{'uid'} || _generate_random_id() |