Skip to content

SonarSource/sonar-training-examples

Repository files navigation

SonarQube Training Examples

Several examples of analysis that demonstrate different use cases

Sub-directories

  • complexity: Demonstrates difference between cyclomatic and cognitive complexity

  • coverage-metrics: Demonstrates the calculations for line, condition and overall coverage

  • size-metrics: Demonstrates the calculation of different size metrics (lines, loc, lines to cover, comment lines and comments %)

  • metrics-without-scm: Demonstrates the SonarQube 7.1+ ability to compute metrics on new code even without SCM

  • branches: Demonstrates the SonarQube 6.7+ new branch management system, and to compare results with 5.6- old branch management.

  • portfolios: Example of meaningful Portfolios hierarchy and Application

  • file-renaming: Demonstrate the SonarQube 6.7+ issue tracking preservation (and new code preservation) in case of file renaming or file move.

  • security: Example of (7.3+) Vulnerabilities and Security Hotspots.

  • external-issues: Example of (7.2+) external linter issues import.

  • pull-request: Example of (7.7+) support for GitHub pull request analysis

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published