posts - 156,  comments - 601,  trackbacks - 0
          JNorm是一個Java代碼分析工具。
          它能夠探測代碼中的哪些功能可以用現存的開源項目代替,幫助提高代碼的可復用性,可維護性。
          該項目還提供一個輔助使用的Eclipse插件。

          本人測試一下該Eclipse插件,比較不錯,在些推薦給大家。

          JNorm官方網址: http://www.jnorm.org/
          Eclipse插件 Update Site: http://www.jnorm.org/eclipse/index.html

          使用的截圖:



          點擊Show details后:


          Ant支持
          配置方法如下:
          ?<?xml version="1.0"?>

              
          <project default="main">

              
          <taskdef name="jnorm" classname="org.jnorm.task.JNormTask">
                  
          <classpath>
                      
          <fileset dir="${jnorm.dist}">
                          
          <include name="*.jar"/>
                        
          </fileset>
                  
          </classpath>
              
          </taskdef>

              
          <target name="main">
               
          <jnorm report="c:\work\report.html">
                  
          <classpath>
                      
          <!-- analysed project classpath -->      
                  
          </classpath>
                
                  
          <fileset dir="${source}">
                      
          <include name="**/*.java"/>
                  
          </fileset>
               
          </jnorm>
              
          </target>

              
          </project>






          Good Luck!
          Yours Matthew!


          posted on 2009-04-14 18:39 x.matthew 閱讀(1523) 評論(4)  編輯  收藏 所屬分類: Eclipse Plugins
          主站蜘蛛池模板: 牙克石市| 邯郸市| 芷江| 两当县| 静海县| 朝阳县| 普定县| 和龙市| 瑞安市| 和平县| 通榆县| 乌恰县| 怀集县| 枣庄市| 姜堰市| 寻乌县| 蕲春县| 石城县| 岱山县| 缙云县| 房产| 灵台县| 彭阳县| 楚雄市| 永修县| 通化县| 麦盖提县| 禄劝| 梓潼县| 绥滨县| 绥德县| 湘潭县| 吕梁市| 灵宝市| 定襄县| 临江市| 周口市| 乐至县| 丰台区| 赞皇县| 屯门区|