blib/lib/Dancer2/Plugin/Auth/OAuth/Provider.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 27 | 55.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
51 | 63 | 4 | 1 | ref $v and ref $v eq "HASH" |
line | l | !l | condition |
---|---|---|---|
23 | 6 | 6 | $self->{'settings'}{'providers'}{$self->_provider} || {} |
27 | 8 | 4 | $self->provider_settings->{'version'} || 2 |
66 | 0 | 3 | $self->provider_settings->{'signature_method'} || 'HMAC-SHA1' |
125 | 0 | 0 | $self->settings->{'error_url'} || '/' |
149 | 0 | 6 | $session->read('oauth') || {} |
152 | 0 | 0 | $self->settings->{'error_url'} || '/' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
30 | 0 | 12 | 0 | $self->{'ua'} ||= "LWP::UserAgent"->new |
104 | 5 | 1 | 0 | $self->settings->{'base'} ||= $base |
146 | 6 | 0 | 0 | $self->settings->{'base'} ||= $request->uri_base |
192 | 2 | 0 | 3 | $content_type =~ /json/ or $content_type =~ /javascript/ |