blib/lib/URI/data.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 26 | 28 | 92.8 |
line | true | false | branch |
---|---|---|---|
17 | 0 | 9 | unless $opaque =~ /^([^,]*),?/ |
20 | 4 | 5 | if $old =~ s/(;base64)$//i |
21 | 6 | 3 | if (@_) |
23 | 2 | 4 | unless defined $new |
26 | 3 | 3 | unless defined $base64 |
30 | 6 | 3 | if $old |
38 | 1 | 16 | unless (defined $data) |
40 | 1 | 0 | unless defined $enc |
43 | 10 | 7 | if (@_) |
44 | 2 | 8 | if $base64 |
46 | 1 | 9 | unless defined $new |
51 | 2 | 8 | if ($base64_len < $urienc_len or $_[0]) { } |
59 | 8 | 9 | unless defined wantarray |
61 | 3 | 6 | $base64 ? : |