Condition Coverage

blib/lib/Net/DHCPv6/DUID/Parser.pm
Criterion Covered Total %
condition 36 51 70.5


and 3 conditions

line !l l&&!r l&&r condition
224 1 0 3 $decoders{$$self{'type'}} and $duid_types{$$self{'type'}}
278 0 6 1 $$self{'type'} and not $duid_types{$$self{'type'}}
0 3 3 $$self{'type'} and $opts{'format'}
3 0 3 $$self{'type'} and $opts{'format'} and $opts{'format'} eq 'text'
331 4 6 0 $$self{'iana_hw_type'} and not $iana_hw_types{$$self{'iana_hw_type'}}
4 4 2 $$self{'iana_hw_type'} and $opts{'format'}
8 0 2 $$self{'iana_hw_type'} and $opts{'format'} and $opts{'format'} eq 'text'
415 2 0 2 $$self{'local_link_address'} and $opts{'format'} eq 'ethernet_mac'
2 0 2 $$self{'local_link_address'} and $opts{'format'} eq 'ethernet_mac' and $self->iana_hw_type == 1

or 3 conditions

line l !l&&r !l&&!r condition
171 0 3 0 ref $invocant || $invocant
303 1 3 0 $$self{'type'} == 1 or not $$self{'warnings'}
328 3 3 4 $$self{'type'} == 1 or $$self{'type'} == 3
6 4 0 $$self{'type'} == 1 or $$self{'type'} == 3 or not $$self{'warnings'}
357 1 3 0 $$self{'type'} == 2 or not $$self{'warnings'}
378 1 3 0 $$self{'type'} == 2 or not $$self{'warnings'}
403 2 2 4 $$self{'type'} == 1 or $$self{'type'} == 3
4 4 0 $$self{'type'} == 1 or $$self{'type'} == 3 or not $$self{'warnings'}