Condition Coverage

blib/lib/MojoMojo/Controller/Root.pm
Criterion Covered Total %
condition 14 20 70.0


and 3 conditions

line !l l&&!r l&&r condition
21 119 75 0 $c->sessionid and $c->session->{'lang'}
33 143 0 51 $c->user_exists and $c->user
119 0 172 10 $proto_pages and @$proto_pages
172 10 0 $proto_pages and @$proto_pages and $c->action->name eq 'inline'
121 0 172 10 $proto_pages and @$proto_pages
172 9 1 $proto_pages and @$proto_pages and not $c->action->name =~ /^(edit|render|login|logout|register|recover_pass)$/

or 2 conditions

line l !l condition
75 194 0 $c->stash->{'path'} ||= '/'