Modified to use new SF CVS pattern, updated JavaNCSS to newer version that handles JDK 1.5

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4383 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2006-05-19 17:19:52 +00:00
parent 071b18e4c5
commit 400c9b254d
4 changed files with 19 additions and 134 deletions

View File

@ -28,7 +28,7 @@ function highlight() {
<center>PMD-WEB</center>
<p><a href="http://pmd.sf.net/">PMD</a> is a Java source code analysis tool - it checks your code for unused fields, empty try/catch/finally/if/while blocks, unused method parameters, and stuff like that. This table contains the results of running PMD's <a href="http://pmd.sourceforge.net/rules/unusedcode.html">unused code ruleset</a> against a bunch of Sourceforge projects. The JavaNCSS column contains the lines of code analyzed as reported by the excellent <a href="http://www.kclee.com/clemens/java/javancss/">JavaNCSS</a> utility. This report is regenerated once a day. The last run finished at <!--Fragment key="lastruntime"-->.
<p><a href="http://pmd.sf.net/">PMD</a> is a Java source code analysis tool - it checks your code for unused fields, empty try/catch/finally/if/while blocks, unused method parameters, and stuff like that. This table contains the results of running PMD's <a href="http://pmd.sourceforge.net/rules/unusedcode.html">unused code ruleset</a> against a bunch of Sourceforge projects. The JavaNCSS column contains the lines of code analyzed as reported by the excellent <a href="http://www.kclee.de/clemens/java/javancss/">JavaNCSS</a> utility. This report is regenerated once a day. The last run finished at <!--Fragment key="lastruntime"-->.
<p>Want to run PMD on your Java Sourceforge project? Please post <a href="http://sourceforge.net/forum/forum.php?forum_id=188192">here</a> or email <a href="mailto:tom@infoether.com">tom@infoether.com</a>. Note that you can link to your project's PMD results <a href="http://sourceforge.net/forum/message.php?msg_id=2365257">as illustrated here</a>.

View File

@ -1,12 +0,0 @@
Vector Visuals:
module: vectors
unix_name: vectors
cvsroot: ":pserver:anonymous@cvs.sourceforge.net:/cvsroot/vectors"
srcdir: vectors/src
jdk15: true
FindBugs-Contrib:
module: fb-contrib
unix_name: fb-contrib
cvsroot: ":pserver:anonymous@cvs.sourceforge.net:/cvsroot/fb-contrib"
srcdir: fb-contrib/src
jdk15: true

File diff suppressed because it is too large Load Diff

View File

@ -33,6 +33,12 @@ class PMDMap
end
end
class SFCVSROOTPattern
def munge(name)
":pserver:anonymous@#{name}.cvs.sourceforge.net:/cvsroot/#{name}"
end
end
class Job
JAVANCSS_BINARY="/usr/local/javancss/bin/javancss"
ROOT="/home/tom/pmd/pmd-web/src"
@ -40,7 +46,8 @@ class Job
attr_reader :unix_name, :mod, :title, :src
attr_accessor :barrels
def initialize(title, data)
@title, @unix_name, @mod, @src, @cvsroot = title, data["unix_name"], data["module"], data["srcdir"], data["cvsroot"]
@title, @unix_name, @mod, @src, @cvsroot = title, data["unix_name"], data["module"], data["srcdir"]
@cvsroot = SFCVSROOTPattern.new.munge(@unix_name)
@data = data
end
def jdk15?