Skip to content

BrainsDevOps/sonar-scanning-examples

 
 

Repository files navigation

Sonar Scanning Examples

This repository showcases basic examples of usage and code coverage for SonarScanners.

Sonar's Clean Code solution helps developers deliver high-quality, efficient code standards that benefit the entire team or organization.

Examples

Various Languages

Ant

SonarScanner for Ant is now deprecated. Please migrate to the SonarScanner CLI.

Gradle

If you have a Gradle project, we recommend usage of SonarScanner for Gradle or the equivalent SonarScanner for Gradle on your CI pipeline.

Maven

If you have a Maven project, we recommend the usage of SonarScanner for Maven or the equivalent SonarScanner for Maven on your CI pipeline.

DotNet/C#

If you have a .NET project, we recommend the usage of SonarScanner for .NET or the equivalent SonarScanner for .NET on your CI pipeline.

Swift

SonarScanner - Swift Code Coverage

C/C++/Objective-C

NOTE: All SonarScanner examples for C, C++ and Objective-C can be found here.

License

Copyright 2016-2023 SonarSource.

Licensed under the GNU Lesser General Public License, Version 3.0

About

Shows how to use the Scanners

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Bicep 23.5%
  • COBOL 15.4%
  • Java 13.2%
  • Visual Basic 6.0 8.7%
  • Apex 7.6%
  • Python 7.4%
  • Other 24.2%