Branch Coverage

blib/lib/Net/FreshBooks/API/OAuth.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
18 0 0 unless (exists $tokens{$key} and $tokens{$key})
48 0 0 unless ($self->authorized)
69 0 0 unless ($request->verify)
92 0 0 unless ($response->is_success)
112 0 0 unless defined $params{'token'}
113 0 0 unless defined $params{'token_secret'}
116 0 0 if ($self->oauth_1_0a)
117 0 0 unless defined $params{'verifier'}
118 0 0 unless defined $params{'verifier'}
136 0 0 if ($self->oauth_1_0a)
137 0 0 unless defined $params{'callback'}
138 0 0 unless defined $params{'callback'}
147 0 0 unless $request_token_response->is_success
163 0 0 if $self->oauth_1_0a and not $self->callback_confirmed
180 0 0 $self->oauth_1_0a ? :
195 0 0 unless $request->verify
202 0 0 unless $response->is_success