hengheng123456789

  BlogJava :: 首页 :: 联系 :: 聚合  :: 管理
  297 Posts :: 68 Stories :: 144 Comments :: 0 Trackbacks
我们在开发过程中都希望得到的代码都是易维护的,这里将介绍几个十分好用的Eclipse插件,用于规范和分析您的代码。
本文引自:http://www-128.ibm.com/developerworks/java/library/j-ap01117/index.html
衷心感谢Paul Duvall (paul.duvall@stelligent.com)大师!

大师向我们介绍了五个工具:
  • CheckStyle: 规范代码式样和格式。
  • PMD's CPD: 检查代码是否重复。
  • Coverlipse: 验证测试代码的覆盖率。
  • JDepend: 提供代码包的依赖性分析。
  • Eclipse Metrics plugin: 控制代码的复杂度。
  • 它们的下载地址如下:

    ToolPurposeURL for Eclipse plugin
    CheckStyleCoding standard analysishttp://eclipse-cs.sourceforge.net/update/
    CoverlipseTest code coveragehttp://coverlipse.sf.net/update
    CPDCopy/Paste detectionhttp://pmd.sourceforge.net/eclipse/
    JDependPackage dependency analysishttp://andrei.gmxhome.de/eclipse/
    MetricsComplexity monitoringhttp://metrics.sourceforge.net/update


    下载方法:
    1、选择Eclipse的Help | Software Updates | Find and Install
    Finding and Installing an Eclipse plugin

    2、选择 Search for new features to install

    3、选择New Remote Site按钮,并输入地址
    Configuring a new Remote Site

    4、选择Finish按钮结束安装。
    Installing the Eclipse plugin


    在后续文章中将分别介绍这五个工具的简单使用方法。
    posted on 2007-01-30 10:07 哼哼 阅读(866) 评论(0)  编辑  收藏 所属分类: JAVA-Eclipse

    只有注册用户登录后才能发表评论。


    网站导航: