Simian这款冗余代码检查工具,有哪些使用技巧?
- 内容介绍
- 文章标签
- 相关推荐
本文共计466个文字,预计阅读时间需要2分钟。
微软Web2.0开发展示如Kobe,重述了Oxite的框架。Ayende持续发表五篇高质量Kobe探讨文章:- Kobe – 内核细节与不喜欢它- Kobe – 数据访问不当- Kobe – 当文档是“
微软web2.0开发示例Kobe,重蹈了Oxite的覆辙。Ayende连续发表了五篇高质量的Kobe探讨贴:
- Kobe – In the nuts & bolts and don’t really liking it
- Kobe – Data Access done wrong
- Kobe – When the documentation is the only delivery that matters
- Kobe – an example of exception handling done wrong
- Kobe – Architectural Overview
Ayende使用Simian工具对代码进行静态分析,发现位于67个文件中的873个方法共有5138行代码是重复的。进入正题,介绍一下Simian这个冗余代码检查工具,目前的版本是2.2.24,不光是c#代码,它也可以用来检查C, C++, COBOL, Ruby, JSP, ASP, HTML, XML, Visual Basic等格式的代码。simian并非免费工具,如果你用它来检查开源代码或非商业代码的话,它是免费使用的,如果是商业应用的话,就需要付费了。
本文共计466个文字,预计阅读时间需要2分钟。
微软Web2.0开发展示如Kobe,重述了Oxite的框架。Ayende持续发表五篇高质量Kobe探讨文章:- Kobe – 内核细节与不喜欢它- Kobe – 数据访问不当- Kobe – 当文档是“
微软web2.0开发示例Kobe,重蹈了Oxite的覆辙。Ayende连续发表了五篇高质量的Kobe探讨贴:
- Kobe – In the nuts & bolts and don’t really liking it
- Kobe – Data Access done wrong
- Kobe – When the documentation is the only delivery that matters
- Kobe – an example of exception handling done wrong
- Kobe – Architectural Overview
Ayende使用Simian工具对代码进行静态分析,发现位于67个文件中的873个方法共有5138行代码是重复的。进入正题,介绍一下Simian这个冗余代码检查工具,目前的版本是2.2.24,不光是c#代码,它也可以用来检查C, C++, COBOL, Ruby, JSP, ASP, HTML, XML, Visual Basic等格式的代码。simian并非免费工具,如果你用它来检查开源代码或非商业代码的话,它是免费使用的,如果是商业应用的话,就需要付费了。

