Condition Coverage

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


and 2 conditions

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

and 3 conditions

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

or 2 conditions

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

or 3 conditions

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