Branch Coverage

blib/lib/URI/Query.pm
Criterion Covered Total %
branch 27 36 75.0


line true false branch
35 2 3 unless $keep{$_}
45 2 3 unless @{$$self{'qq'}{$_};}
57 1 4 if (ref $arg{$key} eq 'ARRAY') { }
99 8 2 if @{$qq{$_};} == 1
101 0 4 wantarray ? :
110 0 1 wantarray ? :
138 83 84 if (not ref $this) { }
60 24 elsif (ref $this eq 'ARRAY') { }
24 0 elsif (ref $this eq 'HASH') { }
0 0 elsif (ref $this eq 'CODE') { }
0 0 elsif (sprintf $this) { }
162 51 0 if defined $value and $value ne ''
177 22 2 if (defined $value and $value ne '')
179 20 2 if (not ref $value) { }
2 0 elsif (ref $value eq 'ARRAY') { }
200 12 11 if (@_ == 1 and not ref $_[0] and $_[0]) { }
3 8 elsif (@_ == 1 and ref $_[0] eq 'HASH') { }
3 5 elsif (scalar(@_) % 2 == 0) { }