Branch Coverage

blib/lib/URI/Query.pm
Criterion Covered Total %
branch 40 54 74.0


line true false branch
27 6 1 if delete $self->{'qq'}{$_}
38 8 5 if $keep{$_}
39 5 0 if delete $self->{'qq'}{$_}
49 6 3 if @{$self->{'qq'}{$_};}
50 3 0 if delete $self->{'qq'}{$_}
59 0 3 unless my $re = shift()
60 0 3 if not ref $re or ref $re ne 'Regexp'
61 0 3 if @_
64 7 3 unless $_ =~ /$re/
65 3 0 if delete $self->{'qq'}{$_}
78 1 4 if (ref $arg{$key} eq 'ARRAY') { }
114 3 6 $self->{'changed'} > 0 ? :
127 8 2 if @{$qq{$_};} == 1
129 0 4 wantarray ? :
138 0 1 wantarray ? :
166 110 110 if (not ref $this) { }
81 29 elsif (ref $this eq 'ARRAY') { }
29 0 elsif (ref $this eq 'HASH') { }
0 0 elsif (ref $this eq 'CODE') { }
0 0 elsif (sprintf $this) { }
190 63 1 if defined $value and $value ne ''
205 22 2 if (defined $value and $value ne '')
207 20 2 if (not ref $value) { }
2 0 elsif (ref $value eq 'ARRAY') { }
228 14 11 if (@_ == 1 and not ref $_[0] and $_[0]) { }
3 8 elsif (@_ == 1 and ref $_[0] eq 'HASH') { }
3 5 elsif (scalar(@_) % 2 == 0) { }