{"id":28496018,"url":"https://github.com/sonarsource/sonar-scanning-examples","last_synced_at":"2025-07-02T10:31:07.069Z","repository":{"id":12433343,"uuid":"71792469","full_name":"SonarSource/sonar-scanning-examples","owner":"SonarSource","description":"Shows how to use the Scanners","archived":false,"fork":false,"pushed_at":"2025-05-07T15:03:23.000Z","size":954,"stargazers_count":911,"open_issues_count":7,"forks_count":2271,"subscribers_count":55,"default_branch":"master","last_synced_at":"2025-06-08T11:51:23.742Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Bicep","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.txt","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,"zenodo":null}},"created_at":"2016-10-24T13:35:22.000Z","updated_at":"2025-05-23T00:51:00.000Z","dependencies_parsed_at":"2024-03-26T15:26:04.253Z","dependency_job_id":"84218f36-d454-4b74-866b-61f22e947ea3","html_url":"https://github.com/SonarSource/sonar-scanning-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SonarSource/sonar-scanning-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonarSource%2Fsonar-scanning-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonarSource%2Fsonar-scanning-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonarSource%2Fsonar-scanning-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonarSource%2Fsonar-scanning-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SonarSource","download_url":"https://codeload.github.com/SonarSource/sonar-scanning-examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SonarSource%2Fsonar-scanning-examples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263120601,"owners_count":23416851,"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:26.184Z","updated_at":"2025-07-02T10:31:07.060Z","avatar_url":"https://github.com/SonarSource.png","language":"Bicep","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sonar Scanning Examples\n\nThis repository showcases basic examples of usage and code coverage for SonarScanners.\n* [SonarScanner for Gradle](https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/scanners/sonarscanner-for-gradle)\n* [SonarScanner for .NET](https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/scanners/sonarscanner-for-dotnet)\n* [SonarScanner for Maven](https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/scanners/sonarscanner-for-maven)\n* [SonarScanner for Ant](https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/scanners/sonarscanner-for-ant) - This scanner is now deprecated. See link for more details.\n* [SonarScanner CLI](https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/scanners/sonarscanner)\n\nSonar's [Clean Code solution](https://www.sonarsource.com/solutions/clean-code/) helps developers deliver high-quality, efficient code standards that benefit the entire team or organization. \n\n## Examples\n### Various Languages\n* [SonarScanner for various languages](sonar-scanner)\n\n### Ant\n[SonarScanner for Ant](https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/scanners/sonarscanner-for-ant) is now deprecated. Please migrate to the SonarScanner CLI.\n* [SonarScanner for Ant - Basic](sonar-scanner-ant/ant-basic)\n* [SonarScanner for Ant - Code Coverage](sonar-scanner-ant/ant-coverage)\n\n### Gradle\nIf you have a Gradle project, we recommend usage of [SonarScanner for Gradle](https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/scanners/sonarscanner-for-gradle) or the equivalent SonarScanner for Gradle on your CI pipeline.\n* [SonarScanner for Gradle - Basic](sonar-scanner-gradle/gradle-basic)\n* [SonarScanner for Gradle - Kotlin DSL](sonar-scanner-gradle/gradle-kotlin-dsl)\n* [SonarScanner for Gradle - Multi-Module](sonar-scanner-gradle/gradle-multimodule)\n* [SonarScanner for Gradle - Multi-Module Code Coverage](sonar-scanner-gradle/gradle-multimodule-coverage)\n\n### Maven\nIf you have a Maven project, we recommend the usage of [SonarScanner for Maven](https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/scanners/sonarscanner-for-maven) or the equivalent SonarScanner for Maven on your CI pipeline.\n* [SonarScanner for Maven - Basic](sonar-scanner-maven/maven-basic)\n* [SonarScanner for Maven - Multilingual (Java + Kotlin with coverage)](sonar-scanner-maven/maven-multilingual)\n* [SonarScanner for Maven - Multi-Module](sonar-scanner-maven/maven-multimodule)\n\n### DotNet/C#\nIf you have a .NET project, we recommend the usage of [SonarScanner for .NET](https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/scanners/sonarscanner-for-dotnet) or the equivalent SonarScanner for .NET on your CI pipeline.\n* [SonarScanner for .NET/MSBuild - C#](sonar-scanner-msbuild/CSharpProject)\n\n### Swift\n[SonarScanner - Swift Code Coverage](swift-coverage)\n\n### C/C++/Objective-C\n**_NOTE:_** All SonarScanner examples for C, C++ and Objective-C can be found [here](https://github.com/sonarsource-cfamily-examples).\n\n## License\nCopyright 2016-2023 SonarSource.\n\nLicensed under the [GNU Lesser General Public License, Version 3.0](http://www.gnu.org/licenses/lgpl.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonarsource%2Fsonar-scanning-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsonarsource%2Fsonar-scanning-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonarsource%2Fsonar-scanning-examples/lists"}