github SonarOpenCommunity/sonar-cxx cxx-0.9.5
V0.9.5

8 years ago

We are pleased to announce the release of the SonarQube C++ Community Plugin version 0.9.5.
See lists below for features added and bugs fixed in this release.

SonarQube compability

Enhancements

  • command line tool for standalone analysis cxxlint #791
  • allow custom checks in external plugins #667. #527
  • improved multi module support #695
  • improved report path handling: can be relative or absolute inside or outside rootDir now #683, #425
  • parser enhancements:
    • grammar refactoring: improved C++14 and C++17 support #743
    • support cudaKernel grammar #727
  • metrics enhancements:
    • undocumented public API detection: documentation for methods marked with "override" is optional now #810
    • add metric COMPLEXITY_IN_CLASSES and COMPLEXITY_IN_FUNCTIONS #788
  • checks enhancements:
    • FileHeaderCheck: with regex support #807
    • TooManyLinesOfCodeInFunctionCheck: improved LOC counting #807
    • new checks: LinesOfCodeInFunctionCheck and FunctionParameterCountCheck #790
    • add tags to all checks #783
  • rule enhancements:
    • rats: add missing rules strncat/sscanf #811
    • CppCheck 1.72 support #754
    • CppCheck 1.73 support #797
    • remove CompileIncludePathNotFoundOrInvalide rule #698
    • update VS and CppCheck rules, tags and URLs #726
  • unit test enhancements:
    • NUnit support:sonar.cxx.nunit.reportsPaths #742
    • MSTest support:sonar.cxx.vstest.reportsPaths #742
  • VC build log parser:
    • handle build log files from parallel builds #776
    • improve build log parser #744
    • suppport x64 in x86 machines #686, #685
  • integration tests:
  • other:
    • support environment variables and system properties in configuration files #716, #741
    • support comma separated list for reports in config file #730

Bugfixes

  • update urls in pom.xml, wiki and plugin (SonarOpenCommunity) #674
  • handle relative report paths with backticks outside basedir. #780
  • naming convention for functions should ignore name of class (#795)
  • Cannot find reports with relative Ant globbing (#775, #777)
  • NullPointerException looking for CppCheck report (#766)
  • Why didn't find the checks for naming convention in sonar-cxx-plugin-0.9.4.jar (#762)
  • Valgrind parsing error (#759, #799)
  • alias template can only be inline documented (#736)
  • SQ-5.2 background task: java.lang.IllegalArgumentException: Rule 'cxx:CycleBetweenPackages' (#734)
  • Parsing issues: template-parameter / std::enable_if<...>::type (#733)
  • expression parser errors (#728)
  • Fix integration tests for SQ 5.2/5.3+ (#721)
  • CxxVCppBuildLogParser does not detect absolute path (#711)
  • parser error during marco resolving (#705)
  • Travis build for Java 7 failing (#700)
  • Preprocessor #if code incorrect (#678, #692)
  • Failure to parse Botan header file Botan/build/include/botan/buf_comp.h (#673)
  • Update Center links are incorrect (#670)
  • variadic macros - no argument for ellipsis creates preprocessor parser (#605)
  • C++ grammar refactoring (#593, #743)
  • improve FunctionNameCheck and MethodNameCheck (#798)
  • fix href for Get-test-execution-metrics (#765)
  • activate naming checks (#763)
  • correct search order of dirs specified via 'sonar.cxx.includeDirectories' (#748)
  • try to fix broken Travis build for Java 7 (#746)
  • Add documentation node searching for template alias declaration (#739)
  • Reintroduce typeid keyword (#737)
  • fix rule CycleBetweenPackages Sqale remediation parameters (#735)
  • fix macro parameter replacement (#709, #708)
  • add sonar log file content to Travis log after failure (#702)
  • variadic macros: no argument for ellipsis creates preprocessor parser error (#701)
  • improved multi module support (#695)
  • remove final and override from keyword list (#675)

Know Issues

For an up to date list of known issues see the issue tracker

Thanks ....

go to all contributors (in alphabetical order):

@Bertk
@felipebz
@guwirth
@jmecosta
@lcintrat
@mjdetullio
@selltc
@wichtounet

... 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.