blib/lib/GitHub/Apps/Auth.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 20 | 55.0 |
line | true | false | branch |
---|---|---|---|
30 | 1 | 0 | $reverse ? : |
35 | 0 | 4 | unless (exists $args{'private_key'} and $args{'private_key'}) |
38 | 0 | 4 | unless (exists $args{'app_id'} and $args{'app_id'}) |
41 | 0 | 1 | unless ($args{'installation_id'} or $args{'login'}) |
56 | 1 | 3 | unless ($self->installation_id) |
58 | 0 | 1 | unless (exists $$installations{$args{'login'}}) |
77 | 0 | 0 | unless ($resp->is_success) |
119 | 0 | 6 | unless ($resp->is_success) |
151 | 6 | 14 | if ($self->_is_expired_token) |
172 | 0 | 2 | $reverse ? : |