| blib/lib/Mojolicious/Plugin/OAuth2/Che.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 0 | 20 | 0.0 |
| line | true | false | branch |
|---|---|---|---|
| 23 | 0 | 0 | if $err or not $data or not $nb |
| 27 | 0 | 0 | unless my $token = $data->{'access_token'} |
| 32 | 0 | 0 | ref $_[-1] eq 'CODE' ? : |
| 34 | 0 | 0 | unless my $provider = $self->providers->{$provider_id} |
| 44 | 0 | 0 | if exists $args->{'host'} |
| 46 | 0 | 0 | if ($cb) { } |
| 56 | 0 | 0 | $data ? : |
| 64 | 0 | 0 | if $err or not $data |
| 73 | 0 | 0 | if ($err = $tx->error) { } |
| 0 | 0 | elsif ($tx->res->headers->content_type =~ m[^(application/json|text/javascript)(;\s*charset=\S+)?$]) { } |