Branch Coverage

blib/lib/OAuth/Lite/ServerUtil.pm
Criterion Covered Total %
branch 24 34 70.5


line true false branch
81 1 1 exists $args{'strict'} ? :
158 2 3 unless $class->require
197 0 6 unless delete $$params{'oauth_consumer_key'}
198 0 6 unless delete $$params{'oauth_nonce'}
199 0 6 unless delete $$params{'oauth_timestamp'}
200 0 6 unless delete $$params{'oauth_signature_method'}
201 0 6 unless delete $$params{'oauth_signature'}
203 4 2 if ($check_token)
204 1 3 unless delete $$params{'oauth_token'}
206 4 1 if ($$self{'strict'})
210 2 10 if (none sub { $extra eq $_; } , @allowed)
230 0 8 unless $method
264 0 2 unless my $http_method = $args{'method'}
265 0 2 unless my $url = $args{'url'}
266 0 2 unless my $params = $args{'params'}
274 0 2 unless ($self->validate_signature_method($signature_method))
282 1 1 unless ($method->verify($base_string, $signature))