| blib/lib/WWW/FCM/HTTP/V1/OAuth.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 22 | 36.3 |
| line | true | false | branch |
|---|---|---|---|
| 54 | 0 | 3 | if ($res->code == 401 and not $args{'retry'}) |
| 79 | 0 | 4 | if ($self->cache) |
| 80 | 0 | 0 | if ($args{'force_refresh'}) { } |
| 84 | 0 | 0 | if $token_cache |
| 95 | 1 | 3 | unless ($res->is_success) |
| 103 | 0 | 3 | if (my $e = $@) |
| 107 | 0 | 3 | if ($self->cache) |
| 109 | 0 | 0 | if $res_content |
| 111 | 0 | 0 | if (my $e = $@) |
| 128 | 0 | 4 | if defined $config->{'subject'} |
| 131 | 0 | 4 | if defined $config->{'subject'} |