Condition Coverage

blib/lib/PAGI/Middleware/HTTPSRedirect.pm
Criterion Covered Total %
condition 10 21 47.6


and 3 conditions

line !l l&&!r l&&r condition
110 1 0 0 defined $query and $query ne ""

or 2 conditions

line l !l condition
53 0 3 $config->{'redirect_code'} // 301
54 1 2 $config->{'exclude'} // []
55 0 3 $config->{'hsts'} // 0
56 0 3 $config->{'hsts_max_age'} // 31536000
69 3 0 $scope->{'scheme'} // "http"
78 0 0 $event->{'headers'} // []
105 1 0 $self->_get_header($scope, "host") // "localhost"
106 1 0 $scope->{'path'} // "/"
155 1 0 $scope->{'headers'} // []