Condition Coverage

blib/lib/Net/SIP/SDP.pm
Criterion Covered Total %
condition 17 45 37.7


and 3 conditions

line !l l&&!r l&&r condition
56 0 0 52 $g_addr and not $g{'c'}
81 0 0 0 $g{'c'} =~ /^IN (IP4|IP6) / && $1
170 48 0 0 ref $string and ref $string ne 'ARRAY'
386 0 0 1 $h and keys %$h == 1
451 0 1 0 not $have_c and !$g_addr || $r->[0] ne $g_addr
499 0 0 52 @fmt == 1 and ref $fmt[0]

or 2 conditions

line l !l condition
75 0 52 delete $g{'v'} || 0
88 0 52 delete $g{'s'} || 'session'
252 48 0 $range || 1
322 64 0 $self->{'media'} || []
370 1 0 $self->{'media'} || []
492 0 48 $range ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
30 48 0 0 !ref($data) || UNIVERSAL::isa($data, 'ARRAY')
81 52 0 0 $atyp ||= $g{'c'} =~ /^IN (IP4|IP6) / && $1
82 52 0 0 $g_addr || ($atyp eq 'IP4' ? '127.0.0.1' : '::1')
120 15 37 0 delete $m{'range'} || ($m_self{'proto'} =~ m[^RTP/] ? 2 : 1)
451 0 0 1 !$g_addr || $r->[0] ne $g_addr