Branch Coverage

blib/lib/Dancer2/Plugin/Auth/OAuth/Provider.pm
Criterion Covered Total %
branch 18 22 81.8


line true false branch
51 1 67 if ref $v and ref $v eq "HASH"
53 3 65 if &blessed($v)
106 1 5 if ($self->protocol_version < 2) { }
118 1 0 if ($res->is_success) { }
133 2 3 unless $self->provider_settings->{'query_params'}{'authorize'}
151 1 5 if ($self->protocol_version < 2) { }
152 0 1 unless defined $request->param("oauth_token")
170 1 0 if ($ua_response->is_success)
189 5 0 if ($response->is_success)
192 2 3 if ($content_type =~ /json/ or $content_type =~ /javascript/) { }
200 13 62 if $params->{$key}