Branch Coverage

lib/App/gh/Command/Fork.pm
Criterion Covered Total %
branch 0 20 0.0


line true false branch
55 0 0 if (@_)
59 0 0 if ($user and $user =~ m[^(?:git\:\/\/github\.com\/|git\@github\.com:|http\:\/\/github\.com\/)([^/]+)/([^/]+)(?:\.git)?$]) { }
0 0 elsif ($user and $user =~ m[/]) { }
73 0 0 unless ($gh_id and $gh_token)
78 0 0 unless ($repo)
80 0 0 if (-e '.git/config')
85 0 0 if ($$remote{'url'} =~ m[(?:git|https?)://github.com/(.*?)/(.*?)\.git] or $$remote{'url'} =~ m[git\@github.com:(.*?)/(.*?)\.git])
88 0 0 unless $1 or $2
95 0 0 if ($_remotes)
100 0 0 if ($$self{'protocol_https'}) { }