Branch Coverage

blib/lib/OAuth/Cmdline.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
63 0 0 defined $self->redirect_uri ? :
0 0 $self->access_type ? :
84 0 0 if ($self->token_expired)
85 0 0 unless $self->token_refresh
136 0 0 if ($resp->is_success)
172 0 0 if ($time_remaining < 300)
173 0 0 if ($time_remaining < 0) { }
202 0 0 unless (-f $self->cache_file_path)
250 0 0 if ($resp->is_success)
268 0 0 if ($@)
304 0 0 if defined $query
311 0 0 if ($resp->is_error)
312 0 0 if ($self->raise_error)
327 0 0 if (-f $self->cache_file_path)
331 0 0 unless (exists $conf->{'client_id'} and exists $conf->{'client_secret'})