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)大師!

          大師向我們介紹了五個工具:
        1. CheckStyle: 規范代碼式樣和格式。
        2. PMD's CPD: 檢查代碼是否重復。
        3. Coverlipse: 驗證測試代碼的覆蓋率。
        4. JDepend: 提供代碼包的依賴性分析。
        5. Eclipse Metrics plugin: 控制代碼的復雜度。
        6. 它們的下載地址如下:

          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 哼哼 閱讀(897) 評論(0)  編輯  收藏 所屬分類: JAVA-Eclipse
          主站蜘蛛池模板: 公安县| 嵊泗县| 湖州市| 柳江县| 饶河县| 临颍县| 文成县| 栾川县| 通道| 铜鼓县| 汝南县| 凤庆县| 敖汉旗| 喀喇| 临西县| 阜阳市| 普陀区| 行唐县| 会宁县| 绥德县| 玉林市| 壶关县| 泾阳县| 五河县| 北京市| 随州市| 鹿泉市| 芜湖市| 铜川市| 友谊县| 龙门县| 和政县| 淳安县| 三门峡市| 平罗县| 乐亭县| 馆陶县| 玉龙| 阿合奇县| 望奎县| 永清县|