blib/lib/Net/HTTP/Spore/Middleware/Auth/OAuth.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 22 | 31.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
99 | 0 | 0 | 3 | $port == 80 and $scheme eq 'http' |
102 | 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 |
---|---|---|---|
113 | 3 | 0 | $scheme || 'https' |
217 | 1 | 2 | $self->oauth_token_secret || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
86 | 0 | 0 | 0 | not defined $ct or $ct eq 'application/x-www-form-urlencoded' |
191 | 0 | 3 | 0 | $oauth_params->{'oauth_signature_method'} eq 'PLAINTEXT' or $oauth_params->{'oauth_signature_method'} eq 'HMAC-SHA1' |