Condition Coverage

blib/lib/IO/Socket/Multicast.pm
Criterion Covered Total %
condition 2 17 11.7


or 2 conditions

line l !l condition
52 0 1 $$arg{'Proto'} ||= 'udp'

or 3 conditions

line l !l&&r !l&&!r condition
58 0 0 0 shift() || croak('usage: $sock->mcast_add($mcast_addr [,$interface])')
66 1 0 0 shift() || croak('usage: $sock->mcast_add($mcast_addr [,$interface])')
93 0 0 0 $interface eq 'any' or $sock->if_flags($interface) & IFF_MULTICAST()
111 0 0 0 shift() || croak('usage: $sock->mcast_send($data [,$address])')
113 0 0 0 $sock->mcast_dest || croak('no destination specified with mcast_send() or mcast_dest()')