blib/lib/Net/SIP/SDP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 45 | 28.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
56 | 0 | 0 | 48 | $g_addr and not $g{'c'} |
81 | 0 | 0 | 0 | $g{'c'} =~ /^IN (IP4|IP6) / && $1 |
170 | 44 | 0 | 0 | ref $string and ref $string ne 'ARRAY' |
386 | 0 | 0 | 0 | $h and keys %$h == 1 |
451 | 0 | 0 | 0 | not $have_c and !$g_addr || $r->[0] ne $g_addr |
499 | 0 | 0 | 48 | @fmt == 1 and ref $fmt[0] |
line | l | !l | condition |
---|---|---|---|
75 | 0 | 48 | delete $g{'v'} || 0 |
88 | 0 | 48 | delete $g{'s'} || 'session' |
252 | 44 | 0 | $range || 1 |
322 | 57 | 0 | $self->{'media'} || [] |
370 | 0 | 0 | $self->{'media'} || [] |
492 | 0 | 44 | $range ||= 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
30 | 44 | 0 | 0 | !ref($data) || UNIVERSAL::isa($data, 'ARRAY') |
81 | 48 | 0 | 0 | $atyp ||= $g{'c'} =~ /^IN (IP4|IP6) / && $1 |
82 | 48 | 0 | 0 | $g_addr || ($atyp eq 'IP4' ? '127.0.0.1' : '::1') |
120 | 13 | 35 | 0 | delete $m{'range'} || ($m_self{'proto'} =~ m[^RTP/] ? 2 : 1) |
451 | 0 | 0 | 0 | !$g_addr || $r->[0] ne $g_addr |