Condition Coverage

blib/lib/PAGI/Endpoint/HTTP.pm
Criterion Covered Total %
condition 9 16 56.2


and 3 conditions

line !l l&&!r l&&r condition
29 0 0 6 $self->can("get") and not $self->can("head")
42 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")

or 2 conditions

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