发布于 2014-09-03 23:25:20 | 722 次阅读 | 评论: 0 | 来源: 网友投递
SonarQube代码质量管理平台
Sonar是一个用于代码质量管理的开源平台,用于管理源代码的质量,可以从七个维度检测代码质量通过插件形式,可以支持包括java,C#,C/C++,PL/SQL,Cobol,JavaScrip,Groovy等等二十几种编程语言的代码质量管理与检测
SonarQube JavaScript 2.1 发布,此版本更新了规则,完全支持 ECMAScript 6。
Sonar是一个用于代码质量管理的开源平台,用于管理源代码的质量,可以从七个维度检测代码质量
通过插件形式,可以支持包括java,C#,C/C++,PL/SQL,Cobol,JavaScrip,Groovy等等二十几种编程语言的代码质量管理与检测
[SONARJS-249] - Rule: "Functions should not be too complex"
[SONARJS-250] - Rule: "Functions should not have too many lines"
[SONARJS-253] - Rule: "(Function|Procedure) names should comply with a naming convention"
[SONARJS-254] - Rule: "Unused function parameters should be removed"
[SONARJS-255] - Rule: "Function argument names should be unique"
[SONARJS-256] - Rule: "Avoid definition of functions inside loops"
[SONARJS-257] - Rule: "[Functions|Methods|Lambdas] should not have too many parameters"
[SONARJS-264] - Rule: "Variables should be declared before they are used"
[SONARJS-265] - Rule: "Avoid variable shadowing"
[SONARJS-266] - Rule: "Avoid redeclaration of variables"
[SONARJS-267] - Rule: "Unused local variables should be removed"
[SONARJS-268] - Rule: "Avoid usage of the same name for the declarations of both a function and a variable"
[SONARJS-276] - Rule: "Variables should be declared before they are used"
[SONARJS-277] - Rule: "Avoid redeclaration of variables"
[SONARJS-279] - Rule: ""eval" and "arguments" should not be bound or assigned"
[SONARJS-280] - Rule: ""eval" and "arguments" should not be bound or assigned"
[SONARJS-283] - Rule: "Functions should not be redeclared"
[SONARJS-240] - Update rule: ""eval" function should not be used"
[SONARJS-241] - Update rule: "Copyright and license headers should be defined"
[SONARJS-242] - Update rule: ""if" statement conditions should not unconditionally evaluate to "true" or to "false""
[SONARJS-243] - Update rule: "Literal boolean values should not be used in condition expressions"
[SONARJS-244] - Update rule: "XPath rule"
[SONARJS-245] - Update rule: "Loops should not contain more than a single "break" or "continue" statement"
[SONARJS-246] - Update rule: ""if ... else if" constructs shall be terminated with an "else" clause:
[SONARJS-247] - Update rule: "Nested blocks of code should not be left empty"
[SONARJS-248] - Update function related rule for ES6
[SONARJS-262] - Update rule: "Duplicate property names not allowed in object literals" for ES6
[SONARJS-263] - Update variable related rules for ES6
[SONARJS-284] - Update outdated rules
[SONARJS-285] - Add a ES6 parameter for rule: ""future reserved words" should not be used as identifiers"
[SONARJS-286] - Update message for "Collapsible 'if' statements should be merged"
[SONARJS-287] - Remove "let" and "yield" from "Future reserved word" rule
[SONARJS-288] - SSLR Toolkit raises a "NoClassDefFoundError"
[SONARJS-289] - Upgrade to SSLR 1.20 and sslr-squid-bridge 2.4