SONARJAVA-6365 New scanner-integration-tester wrapper for multi-module unit tests#5643
SONARJAVA-6365 New scanner-integration-tester wrapper for multi-module unit tests#5643leonardo-pilastri-sonarsource wants to merge 1 commit into
Conversation
Agentic Analysis: Early ResultsAgentic Analysis and Context Augmentation are available on your project. Here are some issues that could have been prevented. Follow the links to learn how to put them into action. 12 issue(s) found across 4 file(s):
Analyzed by SonarQube Agentic Analysis in 9.1 s |
| public class A { | ||
| private void BAD_METHOD_NAME() {} | ||
| } |
There was a problem hiding this comment.
⚠️ Quality: Accidentally committed A.java test fixture files
Two files java-checks-testkit/A.java and java-checks-testkit/src/A.java appear to be accidentally committed. They are not referenced by any test code — ScannerVerifierTest dynamically creates the same content in a temporary directory. These files pollute the project root and the src/ directory of the module, and could confuse developers or interfere with build tools that scan for .java files.
Remove the accidentally committed test fixture files that are not referenced anywhere.:
git rm java-checks-testkit/A.java java-checks-testkit/src/A.java
- Apply fix
Check the box to apply the fix or reply for a change | Was this helpful? React with 👍 / 👎
CI failed: The build is failing in the `java-checks-testkit` module due to OS-specific path separator inconsistencies on Windows and a missing plugin JAR dependency, alongside a `ClassFormatError` in the `java-jsp` module possibly linked to JDK version compatibility.OverviewThe FailuresWindows Path Inconsistency and Missing Dependency (confidence: high)
ClassFormatError in JSP Transpilation (confidence: high)
Summary
Code Review
|
| Auto-apply | Compact | Unblock |
|
|
|
Was this helpful? React with 👍 / 👎 | Gitar
Summary by Gitar
sonar-scanner-integration-testeras a dependency for multi-module analysis.JavaRuleMetadatato resolve rule metadata from JSON resources and generateActiveRuleinstances.ModuleBuilderto support configuration of module-specific sources, binaries, libraries, and inter-module dependencies.ScannerVerifier,ScannerVerifierProjectBuilder, etc.) to facilitate structured integration testing of multi-module projects.This will update automatically on new commits.