Branch Coverage

blib/lib/IO/Socket/UNIX.pm
Criterion Covered Total %
branch 12 24 50.0


line true false branch
20 0 9 if @_ == 1
30 0 7 unless $sock->socket(1, $type, 0)
33 0 7 if (exists $arg->{'Blocking'})
34 0 0 unless $sock->blocking($arg->{'Blocking'})
37 5 2 if (exists $arg->{'Local'})
39 0 5 unless $sock->bind($addr)
42 4 3 if (exists $arg->{'Listen'} and $type != 2) { }
2 1 elsif (exists $arg->{'Peer'}) { }
43 0 4 unless $sock->listen($arg->{'Listen'} || 5)
48 0 2 unless $sock->connect($addr)
56 0 0 unless @_ == 1
62 0 0 unless @_ == 1