Repository navigation
Skip the benchmark module in SonarCloud analysis - #3486
Conversation
oshi-benchmark is not published and its comparison tests only compile under the native-comparison profile, so the default Sonar build finds no test binaries for it -- the source of the residual "sonar.java.test.binaries" warning after #3485. It contributes no findings; exclude it from analysis with sonar.skip.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📜 Recent review details⏰ Context from checks skipped due to timeout. (15)
🔇 Additional comments (1)
📝 WalkthroughWalkthroughThe benchmark module’s Maven configuration now sets ChangesBenchmark SonarCloud exclusion
Estimated code review effort: 1 (Trivial) | ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3486 +/- ##
============================================
- Coverage 75.07% 70.91% -4.17%
Complexity 76 76
============================================
Files 591 591
Lines 21583 21583
Branches 3614 3614
============================================
- Hits 16203 15305 -898
- Misses 3410 4405 +995
+ Partials 1970 1873 -97
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Follow-up to #3485. That PR declared
sonar.java.test.binariesper module, which fixed the "Missing sonar.java.test.binaries" warning for the production modules (oshi-common/oshi-core/oshi-core-ffm) — but the post-merge master SonarCloud run showed the warning's real source was oshi-benchmark: it has comparison-test sources (NativeComparisonTest, etc.) butmaven.test.skip=trueby default (they only compile under-Pnative-comparison), so the default Sonar build has no test binaries for it, and my explicit path turned "Missing" intoInvalid value for 'sonar.java.test.binaries' … oshi-benchmark/target/test-classes.oshi-benchmarkis a non-published benchmark/comparison module and contributes zero of the current findings, so exclude it from SonarCloud withsonar.skip=true. Production modules remain analyzed (verifiedsonar.skipresolves true only for oshi-benchmark).Analysis itself is otherwise clean: 0 bugs, 0 vulnerabilities, 0 reliability, 0 security (validated on the next master run). No CHANGELOG — build config only.
Summary by CodeRabbit