JNorm是一個(gè)Java代碼分析工具。
它能夠探測代碼中的哪些功能可以用現(xiàn)存的開源項(xiàng)目代替,幫助提高代碼的可復(fù)用性,可維護(hù)性。
該項(xiàng)目還提供一個(gè)輔助使用的Eclipse插件。
本人測試一下該Eclipse插件,比較不錯(cuò),在些推薦給大家。
JNorm官方網(wǎng)址:
http://www.jnorm.org/
Eclipse插件 Update Site:
http://www.jnorm.org/eclipse/index.html
使用的截圖:
點(diǎn)擊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 閱讀(1508)
評論(4) 編輯 收藏 所屬分類:
Eclipse Plugins