https://github.com/sonarsource/sonar-training-examples
https://github.com/sonarsource/sonar-training-examples
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sonarsource/sonar-training-examples
- Owner: SonarSource
- License: lgpl-3.0
- Created: 2018-09-21T15:11:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-04-14T16:19:50.000Z (9 months ago)
- Last Synced: 2025-06-08T11:51:27.085Z (7 months ago)
- Language: Java
- Size: 41.7 MB
- Stars: 38
- Watchers: 29
- Forks: 71
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# SonarQube Training Examples
Several examples of analysis that demonstrate different use cases
## Sub-directories
* [complexity](complexity/): Demonstrates difference between cyclomatic and cognitive complexity
* [coverage-metrics](coverage-metrics/): Demonstrates the calculations for line, condition and overall coverage
* [size-metrics](size-metrics/): Demonstrates the calculation of different size metrics (lines, loc, lines to cover, comment lines and comments %)
* [metrics-without-scm](metrics-without-scm/): Demonstrates the SonarQube 7.1+ ability to compute metrics on new code even without SCM
* [branches](branches/): Demonstrates the SonarQube 6.7+ new branch management system, and to compare results with 5.6- old branch management.
* [portfolios](portfolios/): Example of meaningful Portfolios hierarchy and Application
* [file-renaming](file-renaming/): Demonstrate the SonarQube 6.7+ issue tracking preservation (and new code preservation) in case of file renaming or file move.
* [security](security/): Example of (7.3+) Vulnerabilities and Security Hotspots.
* [external-issues](external-issues/): Example of (7.2+) external linter issues import.
* [pull-request](pull-request/): Example of (7.7+) support for GitHub pull request analysis