SonarQube Java 3.13 发布了,Sonar (SonarQube)是一个开源平台,用于管理源代码的质量。Sonar 不只是一个质量数据报告工具,更是代码质量管理平台。支持的语言包括:Java、PHP、C#、C、Cobol、PL/SQL、Flex 等。
改进记录:
“@NonNull” values should not be set to null (Bug)
“Externalizable” classes should have a no-arguments constructor (Bug)
“readResolve” methods should be inheritable (Code Smell, pitfall)
Constructor injection should be used instead of field injection (Code Smell, design, pitfall)
Loops should not be infinite (Bug, cert)
Methods of “Random” that return floating point values should not be used in random integer generation (Code Smell, clumsy)
Abstract methods should not be redundant(Code Smell, confusing)
下载地址:https://sonarsource.bintray.com/Distribution/sonar-java-plugin/sonar-java-plugin-3.13.jar