Name |
CXX Plugin |
Authors |
François DORIN, Franck BONIN |
Jira |
http://jira.codehaus.org/browse/SONARPLUGINS/component/14579 |
State |
Under development |
License |
LGPL v3 |
Download sources |
|
Download jar |
|
Compatibility with Sonar
|
2.3 |
2.4 |
|---|---|---|
0.0.1-SNAPSHOT |
ok |
|
0.0.3 |
? |
ok |
Description / Features
This plugin adds basic support of C++ language into Sonar.
The following features are implemented since v0.0.1-SNAPSHOT :
- Duplications detection
- Commented-out code detection
- Calculation of basic metrics : 'lines of code', 'physical lines', 'blank lines' and 'comment lines'
- Source code coloriser
- Rules checking (using RATS)
The following features are implemented since v0.0.3 :
- Rules checking with CppCheck
- Cyclomatique complexity with CppNcss xUnit test reports
- Code style checking using Vera++
- Coverage reports from Gcov and Gcovr
- Memory fault reports from Valgrind (xml)
Usage & Installation
Simply add the jar file into the plugin directory of sonar.
Deppending tour needs you may :
- install RATS
- install CppCheck
- install CppNcss
- install Vera++ (and cxx-plugin helper vera++Report2checkstyleReport.perl)
- use gcc and gcov and install gcovr from FAST Sandia tools (or cxx-plugin modified version of gcovr.py)
- install Valgrind
More informations from Readme.txt
Known limitations
TBD
Changelog
0.0.1 initial release with RATS support.
0.0.2 internal developpement release (not available)
0.0.3 first release with Cppcheck, Cppncss, Vera++, Gcov and Valgrind support.

