line |
true |
false |
branch |
182
|
0 |
6 |
unless $params{$_} |
186
|
0 |
3 |
unless $pack_templates{$$self{'decode'}} |
224
|
3 |
1 |
if ($decoders{$$self{'type'}} and $duid_types{$$self{'type'}}) { } |
227
|
1 |
2 |
if ($$self{'type'} == 1) { } |
|
1 |
1 |
elsif ($$self{'type'} == 2) { } |
|
1 |
0 |
elsif ($$self{'type'} == 3) { } |
254
|
0 |
1 |
if $$self{'warnings'} |
278
|
1 |
6 |
if ($$self{'type'} and not $duid_types{$$self{'type'}}) { } |
|
3 |
3 |
elsif ($$self{'type'} and $opts{'format'} and $opts{'format'} eq 'text') { } |
279
|
0 |
1 |
if $$self{'warnings'} |
303
|
0 |
4 |
unless $$self{'type'} == 1 or not $$self{'warnings'} |
328
|
0 |
7 |
unless $$self{'type'} == 1 or $$self{'type'} == 3 or not $$self{'warnings'} |
331
|
0 |
10 |
if ($$self{'iana_hw_type'} and not $iana_hw_types{$$self{'iana_hw_type'}}) { } |
|
2 |
8 |
elsif ($$self{'iana_hw_type'} and $opts{'format'} and $opts{'format'} eq 'text') { } |
357
|
0 |
4 |
unless $$self{'type'} == 2 or not $$self{'warnings'} |
378
|
0 |
4 |
unless $$self{'type'} == 2 or not $$self{'warnings'} |
403
|
0 |
6 |
unless $$self{'type'} == 1 or $$self{'type'} == 3 or not $$self{'warnings'} |
410
|
4 |
4 |
if ($opts{'format'}) { } |
411
|
0 |
4 |
unless $formats{$opts{'format'}} |
415
|
2 |
0 |
if ($$self{'local_link_address'} and $opts{'format'} eq 'ethernet_mac' and $self->iana_hw_type == 1) |