V1.1.0
We are pleased to announce the SonarQube C++ Community Plugin version 1.1.0.
See lists below for features added and bugs fixed in this release.
SonarQube compability
- tested and released for SonarQube 6.7 LTS, 7.0, 7.1, 7.2
see also SonarQube compatibility matrix - Installation Instructions
- Upgrade Instructions
Enhancements
- SQ 7.2 support #1491
- minimal supported SQ API is 6.7 #1317
- add function complexity and size metrics #1398:
- new metrics:
- Complex Functions: Number of functions with high cyclomatic complexity
- Complex Functions (%): % of functions with high cyclomatic complexity
- Complex Functions Lines of Code: Number of lines of code in functions with high cyclomatic complexity
- Complex Functions Lines of Code (%): % of lines of code in functions with high cyclomatic complexity
- Big Functions: Number of functions with too many lines
- Big Functions Lines of Code: Number of lines of code in functions with too many lines
- Big Functions (%): Number of lines of code in functions with too many lines
- Big Functions Lines of Code (%): % of lines of code in functions with too many lines
- Lines of Code in Functions: Number of lines of code in function bodies
- new configuration properties:
sonar.cxx.funccomplexity.threshold
/ Cyclomatic complexity threshold:
Cyclomatic complexity threshold used to classify a function as complexsonar.cxx.funcsize.threshold
/ Function size threshold:
Function size threshold to consider a function to be too big
- new metrics:
- Testwell CTC++ support (Verifysoft Technology GmbH) #1486
- add coverage sensor 'Testwell CTC++' for textural reports
- Cppcheck 1.84 support #1490 #1495
- refactoring #1499 #1498 #1496 #1487 #1482 #1481 #1503 #1504
Bugfixes
Known Issues
For an up to date list of known issues see the issue tracker.
- not compatible with Java 9
- Ensure that a rule is enabled if you get no results. In new SQ versions the default profile is read-only. The cxx plugin does not enable all rules per default.
- Starting with SQ 6.2 there are some new metrics and some are no more available. Please have a look to the SonarQube release notes.
- test execution metrics are not supported
- The Cppcheck plugin is deprecated and not working in parallel to this plugin. This plugin provides an own Cppcheck sensor.
- C plugin and JSON Compilation Database support are experimental only
- Symlinks are not supported.
Thanks ....
go to all contributors (in alphabetical order):
@ericlemes
@guwirth
@ivangalkin
@rufinio
... and all people which were active on the issue tracker!