Feature #521 develop sonarqube_properties #528
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Testing
This PR updates the sonarqube.xml workflow slightly. While the existing setup does produce a successful scan, it has fewer findings than the METviewer-6.0.0-beta3 scan run through ant. This updates
sonar-project.properties
settings and also copies thebuild
directory out of the image rather than thedist
directory.Manually ran GHA to scan this feature branch and inspected the findings here. The findings increase from 18 bugs, 2 vulnerabilities, 1.2K smells, and 25 security hotspots on develop to 23 bugs, 14 vulnerabilities, 1.4K smells, and 26 security hotspots on this feature branch.
So the result is changed. However, it does not match the ant-based scan of METviewer-6.0.0-beta3 with its 19 bugs, 90 vulnerabilities, 1.3k smells, and 25 hotspots.
I discussed with @TatianaBurek on Slack and she's happy with these property settings for now.
Recommend testing for the reviewer(s) to perform, including the location of input datasets, and any additional instructions:
Confirm the GHA sonarqube.yml workflow produces the results described above.
Do these changes include sufficient documentation updates, ensuring that no errors or warnings exist in the build of the documentation? [Yes]
None needed.
Do these changes include sufficient testing updates? [Yes]
None needed.
Will this PR result in changes to the test suite? [No]
If yes, describe the new output and/or changes to the existing output:
Do these changes introduce new SonarQube findings? [Yes]
If yes, please describe:
As expected, and described above.
Please complete this pull request review by [Wed 4/24/24].
Pull Request Checklist
See the METplus Workflow for details.
Select: Reviewer(s)
Select: Organization level software support Project or Repository level development cycle Project
Select: Milestone as the version that will include these changes