| line |
true |
false |
branch |
|
23
|
0 |
0 |
if ref $class and $$class{'oscar'} |
|
47
|
0 |
0 |
ref $x_packet ? : |
|
62
|
0 |
0 |
if ($$datum{'prefix'} and $$datum{'prefix'} eq 'count') |
|
67
|
0 |
0 |
if ($$datum{'type'} eq 'num') { } |
|
68
|
0 |
0 |
if ($count != -1) { } |
|
74
|
0 |
0 |
if ($$datum{'prefix'} and $$datum{'prefix'} eq 'length') { } |
|
|
0 |
0 |
elsif (exists $$datum{'len'}) { } |
|
79
|
0 |
0 |
if ($$datum{'type'} eq 'tlvchain') { } |
|
82
|
0 |
0 |
if ($count == -1) { } |
|
92
|
0 |
0 |
if (defined $size) { } |
|
101
|
0 |
0 |
if ($$datum{'type'} eq 'num') { } |
|
|
0 |
0 |
elsif ($$datum{'type'} eq 'data' or $$datum{'type'} eq 'ref') { } |
|
|
0 |
0 |
elsif ($$datum{'type'} eq 'tlvchain') { } |
|
105
|
0 |
0 |
if (exists $$datum{'enum_byval'} and exists $$datum{'enum_byval'}{$results[-1]}) |
|
116
|
0 |
0 |
if (not $input and $count == 1 and defined $size) |
|
131
|
0 |
0 |
if ($$datum{'type'} eq 'data') { } |
|
|
0 |
0 |
elsif ($$datum{'type'} eq 'ref') { } |
|
133
|
0 |
0 |
if ($$datum{'len'}) { } |
|
|
0 |
0 |
elsif ($$datum{'null_terminated'}) { } |
|
143
|
0 |
0 |
if (exists $$datum{'pad'}) |
|
148
|
0 |
0 |
if ($$datum{'items'} and @{$$datum{'items'};}) { } |
|
151
|
0 |
0 |
unless $$datum{'len'} |
|
153
|
0 |
0 |
if $$datum{'null_terminated'} |
|
156
|
0 |
0 |
if $$datum{'name'} |
|
162
|
0 |
0 |
if %tmp |
|
170
|
0 |
0 |
if ($$datum{'subtyped'}) { } |
|
183
|
0 |
0 |
if ($$datum{'subtyped'}) { } |
|
190
|
0 |
0 |
unless (exists $$tlvmap{$tlv{'type'}}) |
|
191
|
0 |
0 |
$$datum{'subtyped'} ? : |
|
195
|
0 |
0 |
if exists $tlv{'count'} |
|
196
|
0 |
0 |
if ($$datum{'subtyped'}) { } |
|
199
|
0 |
0 |
unless (exists $$tlvmap{$tlv{'type'}}{$tlv{'subtype'}}) |
|
200
|
0 |
0 |
if (exists $$tlvmap{$tlv{'type'}}{-1}) { } |
|
208
|
0 |
0 |
if (not $unknown) { } |
|
214
|
0 |
0 |
unless defined $tlv{'data'} |
|
224
|
0 |
0 |
if (not $unknown) { } |
|
229
|
0 |
0 |
unless defined $tlv{'data'} |
|
245
|
0 |
0 |
if ($$datum{'subtyped'}) { } |
|
247
|
0 |
0 |
if exists $$subval{'data'} |
|
250
|
0 |
0 |
if exists $$val{'data'} |
|
261
|
0 |
0 |
unless exists $$val{'items'} |
|
267
|
0 |
0 |
if (@{$$val{'items'};} == 1 and $$val{'items'}[0]{'name'}) |
|
269
|
0 |
0 |
unless defined $tmp{$name} |
|
272
|
0 |
0 |
if (@{$$val{'items'};}) { } |
|
288
|
0 |
0 |
if (exists $$val{'count'}) { } |
|
289
|
0 |
0 |
if (exists $$val{'name'}) { } |
|
297
|
0 |
0 |
if (exists $$val{'name'}) { } |
|
307
|
0 |
0 |
if @unknown |
|
313
|
0 |
0 |
unless defined $size |
|
318
|
0 |
0 |
if ($$datum{'name'}) { } |
|
|
0 |
0 |
elsif (@results) { } |
|
319
|
0 |
0 |
if ($$datum{'count'} or $$datum{'prefix'} and $$datum{'prefix'} eq 'count') { } |
|
|
0 |
0 |
elsif ($$datum{'type'} eq 'ref' or ref $$datum{'items'} and @{$$datum{'items'};}) { } |
|
331
|
0 |
0 |
unless ref $result |
|
337
|
0 |
0 |
defined $data{$_} ? : |
|
340
|
0 |
0 |
if ref $x_packet |
|
352
|
0 |
0 |
defined $data{$_} ? : |
|
360
|
0 |
0 |
if $$datum{'name'} |
|
361
|
0 |
0 |
unless defined $value |
|
362
|
0 |
0 |
ref $value eq 'ARRAY' ? : |
|
364
|
0 |
0 |
if $$datum{'prefix'} and $$datum{'prefix'} eq 'count' |
|
365
|
0 |
0 |
exists $$datum{'count'} ? : |
|
372
|
0 |
0 |
if ($$datum{'type'} eq 'num') { } |
|
|
0 |
0 |
elsif ($$datum{'type'} eq 'data' or $$datum{'type'} eq 'ref') { } |
|
|
0 |
0 |
elsif ($$datum{'type'} eq 'tlvchain') { } |
|
373
|
0 |
0 |
unless defined $value |
|
377
|
0 |
0 |
if (exists $$datum{'enum_byname'} and exists $$datum{'enum_byname'}{$val}) |
|
387
|
0 |
0 |
if ($$datum{'items'} and @{$$datum{'items'};}) { } |
|
|
0 |
0 |
elsif ($$datum{'type'} eq 'ref') { } |
|
388
|
0 |
0 |
ref $val ? : |
|
391
|
0 |
0 |
ref $val ? : |
|
393
|
0 |
0 |
if defined $val |
|
396
|
0 |
0 |
if $$datum{'null_terminated'} |
|
397
|
0 |
0 |
if (exists $$datum{'pad'}) |
|
400
|
0 |
0 |
defined $output ? : |
|
402
|
0 |
0 |
if $pad_needed |
|
409
|
0 |
0 |
if (exists $$tlv{'name'}) { } |
|
410
|
0 |
0 |
if (exists $data{$$tlv{'name'}}) { } |
|
|
0 |
0 |
elsif (exists $$tlv{'value'} and not @{$$tlv{'items'};}) { } |
|
411
|
0 |
0 |
if (@{$$tlv{'items'};}) { } |
|
413
|
0 |
0 |
if (ref $data{$$tlv{'name'}} eq 'ARRAY') { } |
|
420
|
0 |
0 |
if defined $data{$$tlv{'name'}} |
|
429
|
0 |
0 |
if ($tmp ne '') { } |
|
|
0 |
0 |
elsif (@{$$tlv{'items'};} == 1 and $$tlv{'items'}[0]{'name'} and exists $data{$$tlv{'items'}[0]{'name'}}) { } |
|
|
0 |
0 |
elsif (not @{$$tlv{'items'};} and exists $$tlv{'value'}) { } |
|
439
|
0 |
0 |
unless defined $tlvdata |
|
442
|
0 |
0 |
if ($$datum{'subtyped'}) { } |
|
445
|
0 |
0 |
if $$tlv{'subtype'} != -1 |
|
463
|
0 |
0 |
if ($$datum{'prefix'} and defined $output) |
|
464
|
0 |
0 |
if ($$datum{'prefix'} eq 'count') { } |
|
471
|
0 |
0 |
if defined $output |
|
481
|
0 |
0 |
if $test |