Branch Coverage

blib/lib/EPublisher/Source/Plugin/MetaCPAN.pm
Criterion Covered Total %
branch 15 28 53.5


line true false branch
28 0 3 unless $$options{'module'}
43 0 3 if ($dont_merge_release)
53 0 0 unless (eval { do { $result = $mcpan->pod('module', $release_name_metacpan, 'content-type', 'text/x-pod'); 1 } })
76 1 2 unless (eval { do { $module_result = $mcpan->fetch('release/' . $release_name_metacpan); 1 } })
98 0 2 unless (eval { do { $manifest = $mcpan->source('author', $$module_result{'author'}, 'release', $$module_result{'name'}, 'path', 'MANIFEST') } })
117 25 68 if /^.*\.p(?:od|m|l)(?:\s|$)/
125 0 93 if m[^bin/]
145 0 0 unless $path =~ / \. p(?:od|m|l) \z /x or $path =~ m[ \A bin/ ]x
160 0 15 unless (eval { do { $source = $mcpan->source('author', $$module_result{'author'}, 'release', $$module_result{'name'}, 'path', $file); 1 } })
173 13 2 if ($source =~ / ^=head[1234] /mix) { }
184 0 13 unless (eval { do { $pod_src = $mcpan->pod('author', $$module_result{'author'}, 'release', $$module_result{'name'}, 'path', $file, 'content-type', 'text/x-pod'); 1 } })
186 0 13 unless ($pod_src)
191 0 13 if ($pod_src =~ / \A ({.*) /sx) { }
223 13 0 if ($pod_src =~ /(.{50})/s) { }