Branch Coverage

blib/lib/MetaCPAN/API/POD.pm
Criterion Covered Total %
branch 13 14 92.8


line true false branch
14 8 1 @_ ? :
18 1 8 unless %opts
20 6 2 if (defined(my $module = $opts{'module'})) { }
1 1 elsif (defined(my $author = $opts{'author'}) and defined(my $release = $opts{'release'}) and defined(my $path = $opts{'path'})) { }
34 5 2 if (defined(my $type = $opts{'content-type'}))
35 1 4 unless $type =~ m[^ text/ (?: html|plain|x-pod|x-markdown ) $]x
44 0 6 unless $$result{'success'}