Condition Coverage

lib/PAGI/Endpoint/HTTP.pm
Criterion Covered Total %
condition 7 13 53.8


and 3 conditions

line !l l&&!r l&&r condition
30 0 0 4 $self->can("get") and not $self->can("head")
51 5 0 1 $http_method eq "head" and not $self->can("head")
5 0 1 $http_method eq "head" and not $self->can("head") and $self->can("get")

or 2 conditions

line l !l condition
38 7 0 $req->method // "GET"
78 1 0 $scope->{'type'} // "http"