Groovy代码分析工具 CodeNarc
- 授权协议: Apache
- 开发语言: Groovy
- 操作系统: 跨平台
- 软件首页: http://codenarc.sourceforge.net/
- 软件文档: http://codenarc.sourceforge.net/codenarc-creating-ruleset.html
软件介绍
CodeNarc是一个对Groovy代码进行静态分析的工具和框架。CodeNarc通过扫描Groovy源代码来寻找那些违反预定或自定义的相关规则,包括检测编码标准、寻找未使用的代码、可预见的bug或者编码习惯,并生成一个关于扫描结果的HTML报告。
输出报表示例
| Rule Name | Priority | Line # | Source Line / Message |
|---|---|---|---|
| DuplicateImport | 1 | 5 | [SRC]import org.codenarc.sample.other.Other |
| EmptyElseBlock | 2 | 24 | [SRC]else { |
| EmptyIfStatement | 2 | 21 | [SRC]if (name) { |
| ImportFromSamePackage | 3 | 4 | [SRC]import org.codenarc.sample.domain.OtherDomain |
| UnnecessaryGroovyImport | 3 | 3 | [SRC]import java.util.Map |
Introduction to the Design and Analysis of Algorithms
Anany Levitin / Addison Wesley / 2006-2-24 / USD 122.00
Based on a Based on a new classification of algorithm design techniques and a clear delineation of analysis methods, "Introduction to the Design and Analysis of Algorithms" presents the subject in a c......一起来看看 《Introduction to the Design and Analysis of Algorithms》 这本书的介绍吧!
