红联Linux门户
Linux帮助

SonarQube C/C++/Objective C 3.12发布

发布时间:2016-06-16 09:37:09来源:红联作者:baihuo
SonarQube C/C++/Objective C 3.12 发布了,本次发布主要包括9个新特性:

Conditions should not unconditionally evaluate to “TRUE” or to “FALSE” (C, Bug, cert, cwe, misra)

Example of an issue found in the Git source code:

Unused “private” methods should be removed (C++, Code Smell, cert, unused)

Example of an issue found in OpenJDK source code:

“static” should not be used in unnamed namespaces (C++, Code Smell, clumsy, cpp11)

Default capture should not be used (C++, Code Smell, cpp11, suspicious)

Empty “case” clauses that fall through to the “default” should be omitted (C++, C, Code Smell, clumsy)

Inherited non-virtual functions should not be hidden (C++, Code Smell, cert, confusing)

Example of an issue found in OpenJDK source code:

Lambdas should not have too many lines (C++, Code Smell)

Namespaces should not be empty (C++, Code Smell, cert, unused)

The first operand of a conditional operator should have type bool (C++, Code Smell, misra)

软件详情:https://jira.sonarsource.com/secure/ReleaseNote.jspa?projectId=10090&version=13041

下载地址:http://www.sonarqube.org/downloads/

来自:开源中国社区
文章评论

共有 0 条评论