Branch Coverage

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


line true false branch
13 8 1 @_ ? :
17 1 8 unless %opts
19 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'})) { }
33 5 2 if (defined(my $type = $opts{'content-type'}))
34 1 4 unless $type =~ m[^ text/ (?: html|plain|x-pod|x-markdown ) $]x
43 0 6 unless $$result{'success'}