blib/lib/URI/Query.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 24 | 83.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
190 | 0 | 1 | 63 | defined $value and $value ne '' |
205 | 1 | 1 | 22 | defined $value and $value ne '' |
228 | 3 | 6 | 16 | @_ == 1 and not ref $_[0] |
9 | 16 | 0 | @_ == 1 and not ref $_[0] and $_[0] | |
3 | 5 | 3 | @_ == 1 and ref $_[0] eq 'HASH' |
line | l | !l | condition |
---|---|---|---|
93 | 1 | 81 | shift() || $self->{'sep'} || '&' |
189 | 20 | 44 | $self->{'qq'}{$key} ||= [] |
204 | 3 | 21 | $self->{'qq'}{$key_unesc} ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
60 | 0 | 0 | 3 | not ref $re or ref $re ne 'Regexp' |