Condition Coverage

blib/lib/Data/Bitfield.pm
Criterion Covered Total %
condition 13 18 72.2


and 2 conditions

line l !l condition
185 1 1 $unrecognised_ok and next
357 5 2 defined $values[$_] and $v eq $values[$_] and return $_

and 3 conditions

line !l l&&!r l&&r condition
202 0 1 26 $v >= 0 and ($bits & ~$mask) =~ /^\0+$/
357 0 5 2 defined $values[$_] and $v eq $values[$_]
383 0 0 1 $value >= 0 and $value < 1 << $width

or 2 conditions

line l !l condition
130 12 6 $options{'format'} // 'integer'

or 3 conditions

line l !l&&r !l&&!r condition
185 29 0 2 defined(my $f = $fields{$_}) or $unrecognised_ok and next