| blib/lib/OAuth/Simple.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 34 | 0.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 20 | 0 | 0 | 0 | $self->{'app_id'} and $self->{'secret'} |
| 0 | 0 | 0 | $self->{'app_id'} and $self->{'secret'} and $self->{'postback'} | |
| 32 | 0 | 0 | 0 | $params and %$params |
| 49 | 0 | 0 | 0 | $params and %$params |
| 52 | 0 | 0 | 0 | $code and $url |
| 74 | 0 | 0 | 0 | $params and %$params |
| 112 | 0 | 0 | 0 | $self->{'headers'} && %{$self->{'headers'};} |
| line | l | !l | condition |
|---|---|---|---|
| 88 | 0 | 0 | $token_name || 'access_token' |
| 101 | 0 | 0 | $params{'http_method'} ||= 'GET' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 22 | 0 | 0 | 0 | $self->{'ua'} ||= 'LWP::UserAgent'->new |
| 23 | 0 | 0 | 0 | $self->{'json'} ||= 'JSON'->new |
| 81 | 0 | 0 | 0 | $access_token or $self->{'no_token'} |