Branch Coverage

blib/lib/Dist/Zilla/Plugin/GitLab.pm
Criterion Covered Total %
branch 2 30 6.6


line true false branch
47 0 0 if try_load_class("Config::Identity::GitLab")
50 0 0 if (%identity) { }
58 0 0 unless ($login)
59 0 0 %identity ? :
78 0 0 unless ($login)
82 0 0 if try_load_class("Config::Identity::GitLab")
85 0 0 if (%identity) { }
107 1 0 if ($credentials->{'token'})
120 0 0 if $self->repo
128 0 0 unless ($repo)
132 0 0 unless $repo
134 0 0 unless ($repo =~ m[.*/.*]u)
136 0 0 if (defined $login)
150 0 2 unless ($response->{'success'})
165 0 0 if ($response and not $response->{'success'} and $response->{'status'} eq 599)