| xs/encode.xsi | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 6 | 10 | 60.0 |
| line | true | false | branch |
|---|---|---|---|
| 5 | 4 | 0 | RETVAL = newSV(input.length()*3 + 1); |
| 7 | 1 | 3 | size_t rlen = encode_uri_component(input, SvPVX(RETVAL), plus ? URIComponent::query_param_plus : URIComponent::query_param); |
| 4 | 0 | size_t rlen = encode_uri_component(input, SvPVX(RETVAL), plus ? URIComponent::query_param_plus : URIComponent::query_param); | |
| 14 | 4 | 0 | RETVAL = newSV(input.length()+1); |
| 16 | 4 | 0 | size_t rlen = decode_uri_component(input, SvPVX(RETVAL)); |