Branch Coverage

blib/lib/Net/RTP/Packet.pm
Criterion Covered Total %
branch 27 38 71.0


line true false branch
47 1 3 if (defined $bindata) { }
63 0 1 if defined $version
70 1 1 if defined $padding
82 1 1 if defined $marker
89 2 1 if defined $payload_type
96 1 3 if defined $seq_num
104 1 0 unless defined $value
113 1 3 if defined $timestamp
121 0 1 unless defined $value
130 1 2 if defined $ssrc
137 0 0 if (defined $csrc)
138 0 0 if (ref $csrc ne 'ARRAY') { }
150 2 1 if defined $payload
173 0 2 unless (defined $$self{'size'})
194 0 1 if ($$self{'version'} != 2)
220 0 1 if ($$self{'extension'})
226 1 0 if ($$self{'padding'})
249 1 1 if $$self{'padding'}
276 1 1 if ($$self{'padding'})