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 1122 if ($tx and my $sub = $tx->can("stash"))
95 8 1115 if defined $max
110 7 1093 if $stash->{'mojo.rendered'}
114 1093 0 unless $tx->res->code
123 1022 71 unless $stash->{'mojo.static'}
127 64 898 unless $tx->res->code or $self->routes->dispatch($c) or $tx->res->code
137 63 1038 unless $self->{'dispatch'}
145 33 1068 unless $c->stash->{'mojo.rendered'}
153 0 109 ref $_[0] ? :
184 9 20 @_ ? :
194 20 618 if builtin::blessed($val) and $val->isa("Mojo::Promise")
198 48 87 ref $_[0] ? :
203 60 1041 unless eval { do { &$next(); 1 } }