| blib/lib/Net/OAuth/Simple.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 3 | 27 | 11.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 195 | 0 | 0 | 1 | &blessed($self->{'browser'}) and $self->{'browser'}->isa('LWP::UserAgent') |
| 220 | 0 | 0 | 0 | defined $self->{'tokens'}{$param} and length $self->{'tokens'}{$param} |
| 533 | 0 | 0 | 0 | $self->access_token and $self->access_token_secret |
| 620 | 0 | 0 | 0 | $self->oauth_1_0a and not $self->callback_confirmed |
| line | l | !l | condition |
|---|---|---|---|
| 171 | 0 | 1 | $params{'protocol_version'} ||= '1.0a' |
| 235 | 0 | 0 | $self->{'signature_method'} || 'HMAC-SHA1' |
| 470 | 0 | 0 | $self->{'urls'}{$key} || (return) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 175 | 1 | 0 | 0 | $client->{'browser'} ||= 'LWP::UserAgent'->new |
| 744 | 0 | 0 | 0 | $self->signature_method eq 'HMAC-SHA1' or $self->signature_method eq 'RSA-SHA1' |
| 774 | 0 | 0 | 0 | 'GET' eq $method || 'DELETE' eq $method |