Branch Coverage

blib/lib/HTTP/Headers/Auth.pm
Criterion Covered Total %
branch 21 22 95.4


line true false branch
25 6 3 unless (defined $_->[1])
30 9 0 if (@ret) { }
51 6 2 if (@_)
56 1 7 if ($a_scheme =~ /\s/) { }
62 5 2 if (@new)
64 1 4 if (ref $p eq 'ARRAY') { }
3 1 elsif (ref $p eq 'HASH') { }
74 4 3 if (@param)
79 3 3 if ($v =~ /[^0-9a-zA-Z]/ or lc $k eq "realm")
92 3 5 unless defined wantarray
93 4 1 wantarray ? :