Condition Coverage

blib/lib/SystemC/Vregs/Enum.pm
Criterion Covered Total %
condition 6 28 21.4


and 3 conditions

line !l l&&!r l&&r condition
97 0 0 0 $rm and $rm == $cnt
190 2 21 0 defined $$self{'class'}{'bits'} and $$self{'class'}{'bits'} != $bits
197 0 0 23 $bits and $bits < 32
0 23 0 $bits and $bits < 32 and ($$self{'rst_val'} || 0) >= 1 << $bits

or 2 conditions

line l !l condition
121 0 0 shift() || \*STDOUT
122 0 0 shift() || ' '
197 23 0 $$self{'rst_val'} || 0
271 0 0 shift() || \*STDOUT
272 0 0 shift() || ' '

or 3 conditions

line l !l&&r !l&&!r condition
72 0 0 4 SystemC::Vregs::Language::is_keyword($field) || SystemC::Vregs::Language::is_keyword(uc $field)
97 0 0 0 &$test_cb($self) or $rm and $rm == $cnt