| line |
true |
false |
branch |
|
39
|
0 |
4 |
unless $$self{'pack'} |
|
49
|
0 |
0 |
if ($$self{'pack'}) |
|
57
|
4 |
4 |
if defined $$self{'attributes'}{$attr} |
|
74
|
0 |
4 |
unless $$self{'desc'} |
|
81
|
2 |
2 |
if ($self->attribute_value('freeform')) { } |
|
86
|
0 |
2 |
unless ($bits) |
|
88
|
1 |
1 |
if ($field =~ /\'s?h([0-9a-f_]+)$/i) { } |
|
95
|
0 |
1 |
unless (defined $val) |
|
103
|
0 |
4 |
if (defined $$self{'class'}{'bits'} and $$self{'class'}{'bits'} != $bits) |
|
110
|
0 |
4 |
if ($bits and $bits < 32 and hex($$self{'rst_val'} || '0') >= 1 << $bits) |
|
119
|
4 |
0 |
if ($$self{'is_manual'}) |
|
120
|
2 |
2 |
if ($self->attribute_value('allowlc')) { } |
|
121
|
0 |
2 |
if (not $field =~ /^[a-zA-Z][a-zA-Z0-9_]*$/) |
|
125
|
0 |
2 |
if (not $field =~ /^[A-Z][A-Z0-9_]*$/) |
|
142
|
0 |
0 |
if (&$test_cb($self)) |