blib/lib/Mojolicious.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 24 | 75.0 |
line | l | !l | condition | |
---|---|---|---|---|
114 | 955 | 72 | 0 | $self->static->dispatch($c) and $plugins->emit_hook("after_static", $c) |
137 | 0 | 60 | 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 | 91 | 965 | 71 | $tx and my $sub = $tx->can("stash") |
137 | 0 | 0 | 60 | ++$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 | 1036 | 91 | 0 | $c->{'tx'} ||= $self->build_tx |
127 | 71 | 861 | 95 | $tx->res->code or $self->routes->dispatch($c) |
901 | 2 | 63 | $tx->res->code or $self->routes->dispatch($c) or $tx->res->code |