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'}
145 33 990 unless $c->stash->{'mojo.rendered'}
153 0 104 ref $_[0] ? :
184 9 19 @_ ? :
194 20 553 if &Scalar::Util::blessed($val) and $val->isa("Mojo::Promise")
198 48 82 ref $_[0] ? :
203 60 963 unless eval { do { &$next(); 1 } }