line |
true |
false |
branch |
28
|
48 |
44 |
if @_ > 1 |
30
|
44 |
0 |
!ref($data) || UNIVERSAL::isa($data, 'ARRAY') ? : |
53
|
0 |
48 |
if $g{'r'} |
56
|
48 |
0 |
if ($g_addr and not $g{'c'}) |
57
|
48 |
0 |
ip_is_v4($g_addr) ? : |
60
|
48 |
0 |
unless $g{'t'} |
79
|
48 |
0 |
unless ($o) |
93
|
384 |
96 |
unless defined $v |
94
|
0 |
96 |
ref $v ? : |
100
|
0 |
48 |
if %g |
111
|
0 |
48 |
if (my $mline = delete $m{'m'}) { } |
116
|
0 |
144 |
unless defined($m_self{$_} = delete $m{$_}) |
122
|
0 |
48 |
unless defined(my $fmt = $m_self{'fmt'} = delete $m{'fmt'}) |
128
|
48 |
0 |
if (not $m{'c'}) { } |
129
|
0 |
48 |
if (my $addr = delete $m{'addr'}) { } |
|
48 |
0 |
elsif ($g_addr) { } |
131
|
0 |
0 |
if $addr ne $g_addr |
144
|
192 |
48 |
unless defined $v |
145
|
48 |
0 |
ref $v ? : |
150
|
0 |
48 |
if %m |
170
|
0 |
44 |
if ref $string and ref $string ne 'ARRAY' |
172
|
0 |
44 |
ref $string ? : |
178
|
0 |
352 |
unless my($key, $val) = $l =~ /^([a-z])=(.*)/ |
212
|
0 |
44 |
unless $line->[0] eq 'v' |
213
|
0 |
44 |
unless $line->[1] eq '0' |
219
|
0 |
44 |
unless $line->[0] eq 'o' |
229
|
44 |
132 |
if $line->[0] eq 'm' |
232
|
44 |
88 |
if ($line->[0] eq 'c') |
234
|
0 |
44 |
if $have_c++ |
244
|
0 |
44 |
unless $line->[0] eq 'm' |
266
|
0 |
88 |
if $line->[0] eq 'm' |
269
|
0 |
88 |
if ($line->[0] eq 'c') |
271
|
0 |
0 |
if $have_c++ |
292
|
68 |
0 |
if (my $media = $self->{'media'}) |
323
|
57 |
0 |
wantarray ? : |
336
|
0 |
12 |
unless defined $index |
338
|
12 |
0 |
unless (&looks_like_number($index)) |
340
|
0 |
12 |
unless my(@i) = grep({$m->[$_]{'media'} eq $index;} 0 .. $#$m) |
343
|
0 |
12 |
unless $m = $m->[$index] |
345
|
12 |
18 |
unless $l->[0] eq 'a' |
346
|
6 |
12 |
unless $l->[1] =~ /^rtpmap:(\d+)\s+(\S+)/ |
347
|
6 |
6 |
if $2 eq $name |
365
|
0 |
0 |
if (@replace == 1) |
367
|
0 |
0 |
if ref $replace[0][0] |
371
|
0 |
0 |
if @replace != @$media |
377
|
0 |
0 |
if ($g_addr) |
386
|
0 |
0 |
if ($h and keys %$h == 1) { } |
389
|
0 |
0 |
if ($g_addr ne $new_addr) |
394
|
0 |
0 |
if ($line->[0] eq 'c') |
423
|
0 |
0 |
if ($r->[1] != $m->{'port'}) |
428
|
0 |
0 |
unless $line->[0] eq 'm' |
431
|
0 |
0 |
if ($r->[1]) { } |
441
|
0 |
0 |
if ($r->[0] ne $m->{'addr'}) |
445
|
0 |
0 |
if ($line->[0] eq 'c') |
451
|
0 |
0 |
if (not $have_c and !$g_addr || $r->[0] ne $g_addr) |
467
|
0 |
44 |
unless $ntyp eq 'IN' |
468
|
44 |
0 |
if ($atyp eq 'IP4') { } |
|
0 |
0 |
elsif ($atyp eq 'IP6') { } |
469
|
0 |
44 |
unless ip_is_v4($addr) |
471
|
0 |
0 |
unless ip_is_v6($addr) |
479
|
0 |
0 |
$addr =~ /:/ ? : |
489
|
0 |
44 |
unless my($media, $port, $range, $proto, $fmt) = $mline =~ m[^(\w+)\s+(\d+)(?:/(\d+))?\s+(\S+)((?:\s+\S+)+)] |
493
|
44 |
0 |
if $proto =~ m[^RTP/] |
499
|
48 |
0 |
if @fmt == 1 and ref $fmt[0] |
500
|
48 |
0 |
if $proto =~ m[^RTP/] |
501
|
0 |
48 |
if $range > 1 |