blib/lib/Net/HTTP/Spore/Middleware/Auth/OAuth.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 22 | 31.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
95 | 0 | 0 | 3 | $port == 80 and $scheme eq 'http' |
98 | 3 | 0 | 0 | defined $port and defined $scheme |
3 | 0 | 0 | defined $port and defined $scheme and $port == 443 | |
0 | 0 | 0 | defined $port and defined $scheme and $port == 443 and $scheme eq 'https' |
line | l | !l | condition |
---|---|---|---|
111 | 3 | 0 | $scheme || 'https' |
211 | 1 | 2 | $self->oauth_token_secret || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
82 | 0 | 0 | 0 | not defined $ct or $ct eq 'application/x-www-form-urlencoded' |
185 | 0 | 3 | 0 | $oauth_params->{'oauth_signature_method'} eq 'PLAINTEXT' or $oauth_params->{'oauth_signature_method'} eq 'HMAC-SHA1' |