| blib/lib/Mastodon/Role/UserAgent.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 8 | 18 | 44.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 75 | 0 | 0 | 2 | $self->client_id and $self->client_secret |
| 113 | 0 | 22 | 0 | $self->can('access_token') and $self->access_token |
| 153 | 0 | 0 | 22 | not $url =~ /(?:apps|oauth)/ and $self->coerce_entities |
| line | l | !l | condition |
|---|---|---|---|
| 106 | 0 | 22 | $args->{'headers'} // {} |
| 178 | 0 | 22 | $data //= {} |
| 196 | 21 | 1 | $params //= {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 84 | 0 | 2 | 0 | $params->{'instance'} //= $self->instance |