Branch Coverage

lib/Dist/Zilla/PluginBundle/Author/GSG.pm
Criterion Covered Total %
branch 14 16 87.5


line true false branch
150 13 3 if ($self->payload->{'find_github_remote'})
157 9 3 if defined $self->payload->{'github_remote'} and length $self->payload->{'github_remote'}
168 18 297 if ($plugin->[1] =~ /GitHub/) { }
54 243 elsif ($plugin->[1] =~ /Git/) { }
197 8 8 unless ($direction || '') eq "push"
199 6 2 if ($url =~ m[(?: :// | \@ ) (?: [\w\-\.]+\. )? github\.com [/:] ]xi)
202 1 5 if defined $remote
244 0 0 if $self->prompt_2fa