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') { }
66 5 0 if ($link =~ m[^(?:git\:\/\/github\.com\/|git\@github\.com:|https?://github\.com/)([^/]+)/([^/.]+)(?:\.git)?$]) { }
77 0 2 unless $author
79 2 0 if ($yaml_content) { }
83 0 2 unless $source_url
98 0 2 unless $author
100 2 0 if ($yaml_content) { }
103 1 1 unless $yaml->{'fork'}
105 0 1 unless $source