Skip to content

Commit b0ece55

Browse files
authored
Merge pull request #159 from philsquared/patch-1
Added Sonar analyzers
2 parents b8b1d72 + 3d381ba commit b0ece55

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: 02-Use_the_Tools_Available.md

+6
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,12 @@ CMake now also comes with built-in support for calling `clang-tidy` during [norm
192192

193193
The best bet is the static analyzer that you can run as part of your automated build system. Cppcheck and clang meet that requirement for free options.
194194

195+
### SonarLint / SonarQube / SonarCloud
196+
197+
[SonarLint](https://www.sonarsource.com/products/sonarlint/) runs as a plug-in in all the main IDEs. The other two run as part of your build pipeline and can also gate PRs. [SonarQube](https://www.sonarsource.com/products/sonarqube/) runs on your own infrastructure whereas [SonarCloud](https://www.sonarsource.com/products/sonarcloud/) runs in The Cloud, is free for public Open Source projects and supports Automatic Analysis for zero-config setup.
198+
199+
All three run the same set of analyzers (although SonarQube and SonarCloud have a handful of additional checks that are too heavyweight to run in-IDE) that catch code smells and best practice violations, as well as complex bugs.
200+
195201
### Coverity Scan
196202

197203
[Coverity](https://scan.coverity.com/) has a free (for open source) static analysis toolkit that can work on every commit in integration with [Travis CI](http://travis-ci.org) and [AppVeyor](http://www.appveyor.com/).

0 commit comments

Comments
 (0)