Condition Coverage

blib/lib/Net/MAC.pm
Criterion Covered Total %
condition 40 59 67.8


and 3 conditions

line !l l&&!r l&&r condition
143 0 0 1 defined $f and ref $f eq 'HASH'
151 7203 0 805 defined $arg{$key} and $self->_accessible("_$key")
164 0 0 1157 $self->_accessible("_$key") and $_attrs{"_$key"}
181 2 0 14 exists $_format_for{$identifier} and ref $_format_for{$identifier} eq 'HASH'
187 0 0 2 exists $_user_format_for{$identifier} and ref $_user_format_for{$identifier} eq 'HASH'
198 0 0 2 defined $identifier and length $identifier
200 1 0 1 defined $format and ref $format eq 'HASH'
216 31 0 37 $AUTOLOAD =~ /.*::get(_\w+)/ and $self->_accessible($1)
223 6 0 25 $AUTOLOAD =~ /.*::set(_\w+)/ and $self->_accessible($1)
229 0 0 6 $AUTOLOAD =~ /.*::as_(\w+)/ and $_[0]->_format($1)
338 26 267 0 @groups > 3 and @groups % 2
381 11 442 273 $self->get_bit_group and $self->get_bit_group == 8
414 3 9 716 defined $self->get_base and $self->get_base == 16
478 22 30 24 $bit_group == 8 and exists $arg{'zero_padded'}
52 12 12 $bit_group == 8 and exists $arg{'zero_padded'} and $arg{'zero_padded'} == 0
489 3 12 1 exists $arg{'base'} and $arg{'base'} == 10
516 10 0 6 exists $arg{'case'} and $arg{'case'} =~ /^(upper|lower)$/
581 0 3702 0 defined $message and $$self{'_verbose'}

or 2 conditions

line l !l condition
470 15 1 $arg{'bit_group'} || 8

or 3 conditions

line l !l&&r !l&&!r condition
345 267 17 2 $t_bg == 8 or $t_bg == 16