Skip to content

ChrisReferenceProjects/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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 54.4%
  • COBOL 21.1%
  • Python 10.4%
  • Shell 5.0%
  • Go 3.5%
  • TypeScript 1.6%
  • Other 4.0%