Condition Coverage

blib/lib/Mojolicious/Plugin/TtRenderer/Engine.pm
Criterion Covered Total %
condition 10 21 47.6


and 3 conditions

line !l l&&!r l&&r condition
37 0 0 1 $app and substr($dir, 0, 1) ne '/'
113 0 2 6 $! == 2 and not ref $ret[0]

or 3 conditions

line l !l&&r !l&&!r condition
34 1 7 0 delete $args{'mojo'} || delete $args{'app'}
59 0 0 0 $dir || do { my $tmpdir = 'File::Spec'->catdir('File::Spec'->tmpdir, "ttr$<"); mkdir $tmpdir unless -d $tmpdir; $tmpdir }
0 0 0 $config{'COMPILE_DIR'} //= $dir || do { my $tmpdir = 'File::Spec'->catdir('File::Spec'->tmpdir, "ttr$<"); mkdir $tmpdir unless -d $tmpdir; $tmpdir }
91 0 3 31 $c->stash->{'content'} ||= $c->stash->{'mojo.content'}{'content'}
182 14 58 32 $self->SUPER::_template_modified($template) or $template =~ m[^templates(?:/|\\)]