Branch Coverage

blib/lib/Mojolicious/Plugin/PODRenderer.pm
Criterion Covered Total %
branch 4 20 20.0


line true false branch
23 0 0 if defined $$output
31 1 0 if $conf->{'no_perldoc'}
53 0 0 if (my $str = $e->content) =~ /^\s*(?:\$|Usage:)\s+/m
54 0 0 unless $str =~ /[\$\@\%]\w|->\w|^use\s+\w/m
57 0 0 defined $class ? :
65 0 0 if $e->tag eq 'h1' or not @parts
89 0 0 unless $path and -r $path
96 0 1 ref $_[0] eq 'CODE' ? :
0 1 unless defined(my $pod = ref $_[0] eq 'CODE' ? (shift())->() : shift())
103 0 1 unless eval { do { $parser->parse_string_document("$pod"); 1 } }