Branch Coverage

blib/lib/GitHub/Apps/Auth.pm
Criterion Covered Total %
branch 12 20 60.0


line true false branch
27 0 2 unless defined $other
32 1 1 $reverse ? :
41 0 4 unless (exists $args{'private_key'} and $args{'private_key'})
44 0 4 unless (exists $args{'app_id'} and $args{'app_id'})
47 0 1 unless ($args{'installation_id'} or $args{'login'})
64 1 3 unless ($self->installation_id)
66 0 1 unless (exists $$installations{$args{'login'}})
85 0 0 unless ($resp->is_success)
127 0 4 unless ($resp->is_success)
159 4 11 if ($self->_is_expired_token)