| blib/lib/Data/Bitfield.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 15 | 19 | 78.9 | 
| line | l | !l | condition | 
|---|---|---|---|
| 293 | 5 | 2 | defined $values[$_] and $v eq $values[$_] and return $_ | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 143 | 21 | 1 | 1 | not $mask and $unrecognised_ok | 
| 152 | 1 | 0 | 5 | int $v eq $v and $v >= 0 | 
| 1 | 1 | 4 | int $v eq $v and $v >= 0 and $v <= $mask >> $shift | |
| 293 | 0 | 5 | 2 | defined $values[$_] and $v eq $values[$_] | 
| 319 | 0 | 0 | 1 | $value >= 0 and $value < 1 << $width | 
| line | l | !l | condition | 
|---|---|---|---|
| 95 | 5 | 8 | $options{'format'} // 'integer' |