Branch Coverage

blib/lib/Amon2/Auth/Site/Github.pm
Criterion Covered Total %
branch 0 20 0.0


line true false branch
66 0 0 if (defined $callback_uri) { }
0 0 elsif (defined $self->redirect_url) { }
72 0 0 unless defined $self->$_
82 0 0 unless my $code = $c->req->param('code')
86 0 0 if defined $self->redirect_url
88 0 0 unless $res->is_success
90 0 0 if (my $err = $dat->{'error'})
93 0 0 unless my $access_token = $dat->{'access_token'}
95 0 0 if ($self->user_info)
97 0 0 unless $res->is_success