github SonarOpenCommunity/sonar-cxx cxx-1.1.0
V1.1.0

5 years ago

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

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 complex
      • sonar.cxx.funcsize.threshold / Function size threshold:
        Function size threshold to consider a function to be too big
  • 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

  • Highlighting error for concatenated strings on multiple lines #1468 #1480

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!

Don't miss a new sonar-cxx release

NewReleases is sending notifications on new releases.