blib/lib/Mastodon/Role/UserAgent.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 15 | 40.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
53 | 0 | 0 | 0 | $self->client_id and $self->client_secret |
109 | 0 | 22 | 0 | $self->can('access_token') and $self->access_token |
146 | 0 | 0 | 22 | not $url =~ /(?:apps|oauth)/ and $self->coerce_entities |
line | l | !l | condition |
---|---|---|---|
102 | 0 | 22 | $args->{'headers'} // {} |
171 | 0 | 22 | $data //= {} |
189 | 21 | 1 | $params //= {} |