Skip to content

Add SonarCloud static analysis integration#7

Merged
montge merged 10 commits intomasterfrom
feature/add-sonarcloud-analysis
Dec 21, 2025
Merged

Add SonarCloud static analysis integration#7
montge merged 10 commits intomasterfrom
feature/add-sonarcloud-analysis

Conversation

@montge
Copy link
Owner

@montge montge commented Dec 21, 2025

Summary

  • Add sonar-project.properties with project configuration (org: montge, key: montge_jsbsim)
  • Add GitHub Actions workflow for C++ analysis using build-wrapper
  • Exclude third-party code (simgear, GeographicLib) from analysis

Test plan

  • Verify SonarCloud workflow runs on this PR
  • Check SonarCloud dashboard for analysis results
  • Confirm no false positives from excluded directories

🤖 Generated with Claude Code

dependabot bot and others added 10 commits November 28, 2025 10:30
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Provides guidance for Claude Code including CMake build commands,
test execution, and high-level code architecture documentation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add sonar-project.properties with project configuration
- Add GitHub Actions workflow for C++ analysis
- Configure build-wrapper to capture compilation commands
- Exclude third-party code (simgear, GeographicLib) from analysis

Requires SONAR_TOKEN secret to be configured in repository settings.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update to sonarqube-scan-action@v5 (replaces deprecated action)
- Add sonar.host.url for SonarCloud
- Use install-build-wrapper sub-action

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@sonarqubecloud
Copy link

@montge montge merged commit f4f0a6a into master Dec 21, 2025
47 of 51 checks passed
@montge montge deleted the feature/add-sonarcloud-analysis branch December 21, 2025 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants