{"id":28496120,"url":"https://github.com/sonarsource/sonar-training-examples","last_synced_at":"2025-07-02T15:31:56.746Z","repository":{"id":33883893,"uuid":"149780295","full_name":"SonarSource/sonar-training-examples","owner":"SonarSource","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-14T16:19:50.000Z","size":43683,"stargazers_count":38,"open_issues_count":4,"forks_count":71,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-06-08T11:51:27.085Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SonarSource.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-21T15:11:19.000Z","updated_at":"2025-04-14T16:19:55.000Z","dependencies_parsed_at":"2024-08-28T16:07:59.462Z","dependency_job_id":null,"html_url":"https://github.com/SonarSource/sonar-training-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SonarSource/sonar-training-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonarSource%2Fsonar-training-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonarSource%2Fsonar-training-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonarSource%2Fsonar-training-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonarSource%2Fsonar-training-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SonarSource","download_url":"https://codeload.github.com/SonarSource/sonar-training-examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonarSource%2Fsonar-training-examples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263165900,"owners_count":23424037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-08T11:38:45.685Z","updated_at":"2025-07-02T15:31:56.737Z","avatar_url":"https://github.com/SonarSource.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SonarQube Training Examples\n\nSeveral examples of analysis that demonstrate different use cases\n\n## Sub-directories\n\n* [complexity](complexity/): Demonstrates difference between cyclomatic and cognitive complexity\n\n* [coverage-metrics](coverage-metrics/): Demonstrates the calculations for line, condition and overall coverage\n\n* [size-metrics](size-metrics/): Demonstrates the calculation of different size metrics (lines, loc, lines to cover, comment lines and comments %)\n\n* [metrics-without-scm](metrics-without-scm/): Demonstrates the SonarQube 7.1+ ability to compute metrics on new code even without SCM\n\n* [branches](branches/): Demonstrates the SonarQube 6.7+ new branch management system, and to compare results with 5.6- old branch management.\n\n* [portfolios](portfolios/): Example of meaningful Portfolios hierarchy and Application\n\n* [file-renaming](file-renaming/): Demonstrate the SonarQube 6.7+ issue tracking preservation (and new code preservation) in case of file renaming or file move.\n\n* [security](security/): Example of (7.3+) Vulnerabilities and Security Hotspots.\n\n* [external-issues](external-issues/): Example of (7.2+) external linter issues import.\n\n* [pull-request](pull-request/): Example of (7.7+) support for GitHub pull request analysis\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonarsource%2Fsonar-training-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsonarsource%2Fsonar-training-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonarsource%2Fsonar-training-examples/lists"}