blib/lib/Mastodon/Client.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 25 | 53 | 47.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
97 | 3 | 1 | 7 | $self->client_id and $self->client_secret |
265 | 2 | 0 | 0 | $self->client_id and $self->client_secret |
466 | 0 | 0 | 0 | $x >= -1 and $x <= 1 |
0 | 0 | 0 | $x >= -1 and $x <= 1 and $y >= -1 | |
0 | 0 | 0 | $x >= -1 and $x <= 1 and $y >= -1 and $y <= 1 |
line | l | !l | condition |
---|---|---|---|
128 | 1 | 4 | $params->{'username'} // '' |
129 | 1 | 4 | $params->{'password'} // '' |
203 | 2 | 2 | $params //= {} |
236 | 0 | 0 | $params //= {} |
312 | 2 | 2 | $params //= {} |
372 | 0 | 0 | $params //= {} |
387 | 1 | 1 | $params //= {} |
462 | 0 | 0 | $params //= {} |
510 | 0 | 0 | $params //= {} |
531 | 4 | 4 | $params //= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
202 | 2 | 2 | 0 | $id //= $own |
284 | 0 | 0 | 2 | $params->{'website'} // $self->website |
285 | 0 | 2 | 0 | $params->{'scopes'} // $self->scopes |
291 | 0 | 2 | 0 | $params->{'redirect_uris'} // $self->redirect_uri |
311 | 2 | 2 | 0 | $id //= $self->account->{'id'} |
530 | 4 | 4 | 0 | $id //= $self->account->{'id'} |