Commit 6c59129
build(sonar): exclude generated fbs/proto from analysis; document dup trade-off
Generated FlatBuffers/Protobuf sources were excluded from coverage only,
so their machine-style naming and copy-shaped accessors still contributed
~160 code smells and padded the duplication metric. Add sonar.exclusions
to drop them from analysis entirely.
ADR 0005 gains a Consequences note: per-width/per-ptype loop duplication
(unpackLoop16/32/64 etc.) is a deliberate cost of keeping hot-loop bodies
uniform for C2 auto-vectorization, not a defect to refactor away.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 840cc46 commit 6c59129
2 files changed
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
123 | 144 | | |
124 | 145 | | |
125 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
89 | 98 | | |
90 | 99 | | |
91 | 100 | | |
| |||
0 commit comments