Branch Coverage

blib/lib/Github/Fork/Parent.pm
Criterion Covered Total %
branch 10 20 50.0


line true false branch
52 4 0 if ($response->is_success) { }
56 0 0 if ($response->code eq '404') { }
67 10 0 if ($link =~ m[^ (?:git\:\/\/github\.com\/|git\@github\.com:|https?://github\.com/) ([^/]+)/([^/]+) #repository name can contain dots $ ]x) { }
82 0 2 unless $author
84 2 0 if ($yaml_content) { }
88 0 2 unless $source_url
103 0 2 unless $author
105 2 0 if ($yaml_content) { }
108 1 1 unless $yaml->{'fork'}
110 0 1 unless $source