Branch Coverage

blib/lib/URI/_userpass.pm
Criterion Covered Total %
branch 21 24 87.5


line true false branch
14 8 22 if (@_)
16 7 1 defined $info ? :
19 0 8 if (not defined $new || length $pass) { }
22 2 6 unless defined $new
28 8 22 unless defined $info
37 8 10 if (@_)
39 8 0 defined $info ? :
42 3 5 if (not defined $new) { }
43 2 1 length $user ? :
45 0 5 unless defined $new
50 3 15 unless defined $info
51 3 12 unless $info =~ s/^[^:]*://