| Demonstration | The capability of the product is demonstrated on Nemo |
| Issue Tracker | You can browse tickets for the product in JIRA |
| Price | Freeware |
Download
| I accept the Terms and Conditions | |||
|---|---|---|---|
| Version 1.3.1 – Released May 19, 2011 Fix 3 issues. |
Sonar 2.4+ | Release notes | Download |
| Version 1.3 – Released April 6, 2011 Improve the C parser and preprocessor. The C parser embeds a parsing error recovery mechanism to be able to analyse C source files which are syntactically incorrect. |
Sonar 2.4+ | Release notes | Download |
| Version 1.2 – Released February 21, 2011 Support some nonstandard preprocessing macros like ‘far’, ‘asm’, ‘GCC case ranges’, … |
Sonar 2.4+ | Release notes | Download |
| Version 1.1 – Released December 23, 2010 Support legacy varargs.h, new GNU CPP named variable, bug fixes… |
Sonar 2.3+ | Release notes | Download |
| Version 1.0 – Released October 15, 2010 Complete dashboard, extensible rules engine, detection of duplicated code… |
Sonar 2.3+ | Release notes | Download |
| All versions | |||
Features
SonarSource has developed its own state of the art C parser and packaged it as a Sonar product extension. It allows to perform objective and automated C code reviews against pre-defined or homemade coding best practices. This product benefits from the power of the Open Source Sonar platform by reusing all available core services : Violations drilldown, Hotspots, Code viewer with syntax highlighting, TimeMachine, Clouds, Coding rule profile management, etc. This product can also be used along with the SonarSource Views product to aggregate C projects and easily manage a portfolio with millions lines of code.
Key features of the product are :
- The product embeds its own lexer, preprocessors and parser, so the C source code doesn’t need to be preprocessed before being analyzed.
- The rules associated to the product are available in the Sonar open source forge.
- Ability to extend the out-the-box rule engine by writing custom rules
- Deactivation of false positive violations using the tag //NOSONAR in C source code
- Ability to track parsing issues by using rules violations
- Easy usage : download the jar, start Sonar and launch mvn sonar:sonar. There isn’t any dependency on third party tool.
- Excellent performances, analyzes millions of lines of code in minutes

