Condition Coverage

blib/lib/Amon2/Web.pm
Criterion Covered Total %
condition 4 13 30.7


and 3 conditions

line !l l&&!r l&&r condition
166 2 0 2 &Scalar::Util::blessed($response) and $response->isa("Plack::Response")

or 2 conditions

line l !l condition
24 17 0 &Encode::find_encoding('utf-8') || die()
177 1 0 $self->req->{'env'}{'SCRIPT_NAME'} || '/'

or 3 conditions

line l !l&&r !l&&!r condition
30 0 0 0 ref $self || $self
36 0 0 0 $self->{'session'} ||= "Plack::Session"->new($self->request->env)