| blib/lib/URI/_query.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 28 | 29 | 96.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 67 | 12 | 6 | 21 | $old and $old =~ /([&;])/ |
| 76 | 20 | 1 | 496 | defined $old and length $old |
| 1 | 39 | 457 | defined $old and length $old and defined wantarray | |
| 90 | 5 | 3 | 4 | @copy == 1 and _is_array($copy[0]) |
| 94 | 3 | 9 | 4 | defined $old and defined wantarray |
| 113 | 1053 | 871 | 182 | $_ % 2 == 0 && $old[$_] eq $key |
| 185 | 148 | 4 | 41 | defined $_[0] && (builtin::reftype($_[0]) || '') eq 'ARRAY' && !(builtin::blessed($_[0]) && overload::Method($_[0], '""')) |
| line | l | !l | condition |
|---|---|---|---|
| 68 | 2 | 16 | $URI::DEFAULT_QUERY_FORM_DELIMITER || '&' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 68 | 21 | 18 | 0 | $delim ||= $URI::DEFAULT_QUERY_FORM_DELIMITER || '&' |
| 109 | 5 | 3 | 2 | $i++ % 2 || $seen{$_}++ |