Condition Coverage

blib/lib/PAGI/Middleware/MethodOverride.pm
Criterion Covered Total %
condition 11 20 55.0


or 2 conditions

line l !l condition
62 0 4 $config->{'param'} // "_method"
63 0 4 $config->{'header'} // "x-http-method-override"
64 1 3 $config->{'allowed_methods'} // ["PUT", "PATCH", "DELETE"]
65 0 4 $config->{'check_header'} // 1
66 0 4 $config->{'check_param'} // 1
83 4 0 $scope->{'method'} // ""
115 3 0 $scope->{'headers'} // []
124 1 0 $scope->{'query_string'} // ""
130 1 0 $key //= ""
131 1 0 $value //= ""