Condition Coverage

blib/lib/PAGI/Endpoint/HTTP.pm
Criterion Covered Total %
condition 11 19 57.8


and 3 conditions

line !l l&&!r l&&r condition
28 0 0 6 $self->can("get") and not $self->can("head")
41 11 0 2 $http_method eq "options" and not $self->can("options")
10 0 1 $http_method eq "head" and not $self->can("head")
10 0 1 $http_method eq "head" and not $self->can("head") and $self->can("get")
59 1 0 12 builtin::blessed($res) and $res->can("respond")

or 2 conditions

line l !l condition
36 13 0 $ctx->method // "GET"
72 7 0 $scope->{'type'} // "http"