github SonarOpenCommunity/sonar-cxx cxx-1.3.0
V1.3.0

5 years ago

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

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:
    • rules updated (Clang 8.0) #1730
    • diagnostic notes are supported now #1742 #1720
  • Clang Static Analyzer
    • add path/flow support for .plist reports #1710 #1707
  • GCC
  • PC-Lint
    • support PC-Lint plus V1.2 messages #1716
    • support supplemental messages #1728
  • Visual Studio / Msbuild LOG file analysis:
    • support Visual Studio 2019 with v142 platform toolset #1725 #1726
    • improved analysis #1668
  • 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!

Don't miss a new sonar-cxx release

NewReleases is sending notifications on new releases.