V1.3.0
We are pleased to announce the SonarQube C++ Community Plugin version 1.3.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, 7.3, 7.4, 7.5, 7.6, 7.7, 7.8
see also SonarQube compatibility matrix - Installation Instructions
- Upgrade Instructions
Enhancements
- SQ 7.7 support #1696 #1695
- SQ 7.8 support #1731 #1738
- minimal supported SQ API is 6.7 #1317
- Cppcheck 1.88 support #1733 #1739 #1741
- Clang-Tidy:
- Clang Static Analyzer
- GCC
- PC-Lint
- Visual Studio / Msbuild LOG file analysis:
- use of scanner 4.0 #1736
- use of parent POM 51
- static code analysis checks are removed #1704
- BooleanEqualityComparisonCheck, CollapsibleIfCandidateCheck, CommentedCodeCheck, HardcodedAccountCheck, HardcodedIpCheck, MagicNumberCheck, MissingCurlyBracesCheck, NestedStatementsCheck, ReservedNamesCheck, SafetyTagCheck, StringLiteralDuplicatedCheck, SwitchLastCaseIsDefaultCheck, UnnamedNamespaceInHeaderCheck, UseCorrectIncludeCheck, UseCorrectTypeCheck, UselessParenthesesCheck, UsingNamespaceInHeaderCheck
- use external tools like CppCheck, Clang, .... instead
- seperate cxx-lint tool into own JAR (no more part of cxx plugin) #1705
- refactoring #1737 #1691 #1690 #1689
Bugfixes
- fixing OpenCppCoverage coverage report: not working since upgrade to 1.2.x #1669 #1709
- fixing typo Highligthing => Highlighting #1724 #1723
- support real paths in coverage sensor for C++/CLI #1701 #1688
- Clang-Tidy: modernize-use-nodiscard check message breaks regex #1719 #1742
- Clang-Tidy: missing rule [clang-diagnostic-warning] #1702
Known Issues
For an up to date list of known issues see the issue tracker.
- not tested with Java 9, 10, 11
- not tested with SonarQube 7.9.x LTS
- 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.
duplicated_lines_density
values are different with SQ 7.5- project's duplication density value will likely rise with SQ 7.8 (SONAR-12188)
- 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
Thanks ....
go to all contributors (in alphabetical order):
@Bertk
@bloodlee
@guwirth
@ivangalkin
@romanek-adam
@rudolfgrauberger
@stalb
... and all people which were active on the issue tracker!