| lib/Mojolicious/Plugin/DOCRenderer.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 20 | 50.0 |
| line | l | !l | condition |
|---|---|---|---|
| 66 | 1 | 8 | $_->{'href'} =~ s[^https://metacpan\.org/pod/][$doc]u and $_->{'href'} =~ s[::][/]giu |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 109 | 0 | 0 | 1 | $path and -r $path |
| line | l | !l | condition |
|---|---|---|---|
| 21 | 0 | 1 | $conf->{'preprocess'} || 'ep' |
| 28 | 0 | 1 | $conf->{'name'} || 'doc' |
| 34 | 0 | 1 | $conf->{'url'} || '/doc' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 43 | 0 | 0 | 0 | $module ||= $package |
| 71 | 0 | 4 | 2 | $str =~ /^\s*(?:\$|Usage:)\s+/mu or not $str =~ /[\$\@\%]\w|->\w/mu |
| 82 | 8 | 0 | 5 | $e->tag eq 'h1' or not @parts |