Condition Coverage

blib/lib/Mojolicious/Plugin/PODViewer.pm
Criterion Covered Total %
condition 9 19 47.3


and 3 conditions

line !l l&&!r l&&r condition
254 0 0 7 $path and -r $path

or 2 conditions

line l !l condition
159 0 1 $conf->{'preprocess'} || 'ep'
166 0 1 $conf->{'name'} || 'pod'
175 1 0 $conf->{'default_module'} // 'Mojolicious::Guides'
181 1 0 $conf->{'allow_modules'} // [qr//u]
256 7 0 $c->stash->{'layout'} //= 'podviewer'

or 3 conditions

line l !l&&r !l&&!r condition
184 1 0 0 $conf->{'route'} ||= $app->routes->any('/perldoc')
226 4 0 9 $e->tag eq 'h1' or not @topics