Condition Coverage

lib/Mojolicious/Plugin/DOCRenderer.pm
Criterion Covered Total %
condition 10 20 50.0


and 2 conditions

line l !l condition
63 1 8 $_->{'href'} =~ s[^https://metacpan\.org/pod/][$doc] and $_->{'href'} =~ s[::][/]gi

and 3 conditions

line !l l&&!r l&&r condition
106 0 0 1 $path and -r $path

or 2 conditions

line l !l condition
21 0 1 $conf->{'preprocess'} || 'ep'
28 0 1 $conf->{'name'} || 'doc'
34 0 1 $conf->{'url'} || '/doc'

or 3 conditions

line l !l&&r !l&&!r condition
43 0 0 0 $module ||= $package
68 0 4 2 $str =~ /^\s*(?:\$|Usage:)\s+/m or not $str =~ /[\$\@\%]\w|->\w/m
79 8 0 5 $e->tag eq 'h1' or not @parts