This repository showcases basic examples of usage and code coverage for SonarScanners.
- SonarScanner for Gradle
- SonarScanner for .NET
- SonarScanner for Maven
- SonarScanner for Ant - This scanner is now deprecated. See link for more details.
- SonarScanner CLI
Sonar's Clean Code solution helps developers deliver high-quality, efficient code standards that benefit the entire team or organization.
SonarScanner for Ant is now deprecated. Please migrate to the SonarScanner CLI.
If you have a Gradle project, we recommend usage of SonarScanner for Gradle or the equivalent SonarScanner for Gradle on your CI pipeline.
- SonarScanner for Gradle - Basic
- SonarScanner for Gradle - Kotlin DSL
- SonarScanner for Gradle - Multi-Module
- SonarScanner for Gradle - Multi-Module Code Coverage
If you have a Maven project, we recommend the usage of SonarScanner for Maven or the equivalent SonarScanner for Maven on your CI pipeline.
- SonarScanner for Maven - Basic
- SonarScanner for Maven - Multilingual (Java + Kotlin with coverage)
- SonarScanner for Maven - Multi-Module
If you have a .NET project, we recommend the usage of SonarScanner for .NET or the equivalent SonarScanner for .NET on your CI pipeline.
SonarScanner - Swift Code Coverage
NOTE: All SonarScanner examples for C, C++ and Objective-C can be found here.
Copyright 2016-2023 SonarSource.
Licensed under the GNU Lesser General Public License, Version 3.0