Branch Coverage

lib/Mojolicious/Plugin/DOCRenderer.pm
Criterion Covered Total %
branch 12 20 60.0


line true false branch
26 0 0 if defined $$output
39 1 0 if ($package eq 'Mojolicious::Lite') { }
71 4 2 if $str =~ /^\s*(?:\$|Usage:)\s+/mu or not $str =~ /[\$\@\%]\w|->\w/mu
74 0 2 defined $class ? :
82 8 5 if $e->tag eq 'h1' or not @parts
104 1 2 if (defined $module)
109 0 1 unless $path and -r $path
118 0 2 ref $_[0] eq 'CODE' ? :
0 2 unless defined(my $pod = ref $_[0] eq 'CODE' ? (shift())->() : shift())
125 0 2 unless eval { do { $parser->parse_string_document("$pod"); 1 } }