Condition Coverage

blib/lib/Mastodon/Role/UserAgent.pm
Criterion Covered Total %
condition 8 18 44.4


and 3 conditions

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

or 2 conditions

line l !l condition
106 0 22 $args->{'headers'} // {}
178 0 22 $data //= {}
196 21 1 $params //= {}

or 3 conditions

line l !l&&r !l&&!r condition
84 0 2 0 $params->{'instance'} //= $self->instance