Branch Coverage

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


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