Branch Coverage

blib/lib/Mojolicious.pm
Criterion Covered Total %
branch 25 28 89.2


line true false branch
68 57 0 if $dynamic
79 71 1042 if ($tx and my $sub = $tx->can("stash"))
95 8 1035 if defined $max
110 7 1015 if $stash->{'mojo.rendered'}
114 1015 0 unless $tx->res->code
123 948 67 unless $stash->{'mojo.static'}
127 59 829 unless $tx->res->code or $self->routes->dispatch($c) or $tx->res->code
137 59 964 unless $self->{'dispatch'}
144 33 990 unless $c->stash->{'mojo.rendered'}
152 0 104 ref $_[0] ? :
183 9 19 @_ ? :
193 20 553 if &Scalar::Util::blessed($val) and $val->isa("Mojo::Promise")
197 48 82 ref $_[0] ? :
202 60 963 unless eval { do { &$next(); 1 } }