blib/lib/Mojolicious.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 24 | 75.0 |
line | l | !l | condition | |
---|---|---|---|---|
114 | 948 | 67 | 0 | $self->static->dispatch($c) and $plugins->emit_hook("after_static", $c) |
137 | 0 | 59 | 0 | ++$self->{'dispatch'} and $self->hook("around_action", \&Mojolicious::_action) and $self->hook("around_dispatch", sub { $_[1]->app->dispatch($_[1]); } ) |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
79 | 89 | 953 | 71 | $tx and my $sub = $tx->can("stash") |
137 | 0 | 0 | 59 | ++$self->{'dispatch'} and $self->hook("around_action", \&Mojolicious::_action) |
194 | 387 | 166 | 20 | &Scalar::Util::blessed($val) and $val->isa("Mojo::Promise") |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
85 | 1024 | 89 | 0 | $c->{'tx'} ||= $self->build_tx |
127 | 66 | 858 | 91 | $tx->res->code or $self->routes->dispatch($c) |
893 | 2 | 59 | $tx->res->code or $self->routes->dispatch($c) or $tx->res->code |