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') { } |
68 | 4 | 2 | if $str =~ /^\s*(?:\$|Usage:)\s+/m or not $str =~ /[\$\@\%]\w|->\w/m |
71 | 0 | 2 | defined $class ? : |
79 | 8 | 5 | if $e->tag eq 'h1' or not @parts |
101 | 1 | 2 | if (defined $module) |
106 | 0 | 1 | unless $path and -r $path |
115 | 0 | 2 | ref $_[0] eq 'CODE' ? : |
0 | 2 | unless defined(my $pod = ref $_[0] eq 'CODE' ? (shift())->() : shift()) | |
122 | 0 | 2 | unless eval { do { $parser->parse_string_document("$pod"); 1 } } |