Condition Coverage

blib/lib/Mojolicious.pm
Criterion Covered Total %
condition 15 21 71.4


and 2 conditions

line l !l condition
116 836 57 0 $self->static->dispatch($c) and $plugins->emit_hook('after_static', $c)
143 0 54 0 ++$self->{'dispatch'} and $self->hook('around_action', sub { $_[2]->($_[1]); } ) and $self->hook('around_dispatch', sub { $_[1]->app->dispatch($_[1]); } )

and 3 conditions

line !l l&&!r l&&r condition
81 76 831 70 $tx and my $sub = $tx->can('stash')
143 0 0 54 ++$self->{'dispatch'} and $self->hook('around_action', sub { $_[2]->($_[1]); } )

or 3 conditions

line l !l&&r !l&&!r condition
90 901 76 0 $c->{'tx'} ||= $self->build_tx
132 62 785 52 $tx->res->code or $self->routes->dispatch($c)
819 2 47 $tx->res->code or $self->routes->dispatch($c) or $tx->res->code