Branch Coverage

blib/lib/Net/Twitch/Oauth2.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
21 0 0 unless ($options{'access_token'})
22 0 0 unless defined $$self{'options'}{'application_id'}
23 0 0 unless defined $$self{'options'}{'application_secret'}
38 0 0 unless defined $params{'callback'}
40 0 0 if defined $params{'scope'}
49 0 0 if $scope
59 0 0 unless defined $params{'code'}
60 0 0 unless defined $params{'callback'}
80 0 0 unless ($response->is_success)
91 0 0 if ($token)
101 0 0 unless ($self->_has_access_token($url))
102 0 0 unless defined $$self{'access_token'}
103 0 0 $$self{'_has_query'} ? :
116 0 0 if $string
125 0 0 unless ($self->_has_access_token($url))
126 0 0 unless defined $$self{'access_token'}
136 0 0 unless ($self->_has_access_token($url))
137 0 0 unless defined $$self{'access_token'}
168 0 0 if (grep {$_ eq 'oauth_token';} keys %q)