zp7412 发表于 2016-10-25 10:14:40

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

欢迎加入运维网交流群:263444886
                  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)
  了解更多信息,可查看发布说明。
页: [1]
查看完整版本: SonarQube C/C++/Objective C 3.12 发布