| blib/lib/Data/URIEncode.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 13 | 22 | 59.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 100 | 6 | 0 | 1 | ref $in ne 'ARRAY' and not $Data::URIEncode::DUMP_BLESSED_DATA |
| 111 | 42 | 0 | 1 | ref $in ne 'HASH' and not $Data::URIEncode::DUMP_BLESSED_DATA |
| 160 | 0 | 3 | 0 | defined $str and length $str |
| 165 | 0 | 3 | 0 | defined $$str and length $$str |
| line | l | !l | condition |
|---|---|---|---|
| 31 | 69 | 0 | shift() || die('Missing hashref') |
| 95 | 23 | 30 | shift() || {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 40 | 27 | 135 | 84 | $copy =~ s/^ ([.:]) $Data::URIEncode::qr_chunk_quoted//ox or $copy =~ s/^ ([.:]) $Data::URIEncode::qr_chunk//ox |
| 102 | 12 | 0 | 0 | defined $$in[$i] or $i == $#$in |