Condition Coverage

blib/lib/MojoMojo/Controller/Page.pm
Criterion Covered Total %
condition 13 24 54.1


and 3 conditions

line !l l&&!r l&&r condition
60 0 28 0 $proto_pages and @$proto_pages
70 26 0 2 $rev and defined $page->content_version
101 1 26 1 $content and not defined $content->precompiled

or 2 conditions

line l !l condition
45 2 26 $stash->{'template'} ||= 'page/view.tt'
130 0 3 $c->req->params->{'q'} || $c->stash->{'query'} || ''
131 0 3 $c->req->params->{'search_type'} || 'subtree'
212 0 0 $c->req->params->{'p'} || 1
264 28 7 $c->stash->{'template'} ||= 'page/tags.tt'
301 0 1 $c->req->param('page') || 1

or 3 conditions

line l !l&&r !l&&!r condition
169 0 0 0 $page->content->precompiled || $page->content->formatted($c)