forked from phoedos/pmd
Tweaked links
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2490 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -1,3 +1,3 @@
|
||||
<a href="<!--Fragment key="file"-->">
|
||||
Download
|
||||
<!--Fragment key="barrels"--> barrels
|
||||
</a>
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
<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=2299020">as illustrated here</a>.
|
||||
|
||||
<p><b>NEW! A DOOM map is now being generated for each project using <a href="http://ruby-doom.rubyforge.org/?ref=pmd">Ruby-DOOM.</a></b>
|
||||
<p><b>NEW! A DOOM map is now being generated for each project using <a href="http://rubyforge.org/projects/ruby-doom/?ref=pmd">Ruby-DOOM.</a></b>
|
||||
|
||||
<br>
|
||||
<table align=center>
|
||||
@ -26,8 +26,8 @@
|
||||
<th>Percentage<br>Unused Code</th>
|
||||
<th>Duplicate<br>Code</th>
|
||||
<th>
|
||||
<a href="http://ruby-doom.rubyforge.org/?ref=pmd">DOOM</a>
|
||||
<a href="http://rubyforge.org/projects/ruby-doom/?ref=pmd">DOOM</a>
|
||||
<br>
|
||||
<a href="http://ruby-doom.rubyforge.org/?ref=pmd">Map</a>
|
||||
<a href="http://rubyforge.org/projects/ruby-doom/?ref=pmd">Map</a>
|
||||
</th>
|
||||
</tr>
|
||||
|
@ -36,6 +36,7 @@ class Job
|
||||
ROOT="/home/tom/data/pmd/pmd-web/src"
|
||||
REMOTE_REPORT_DIR="/home/groups/p/pm/pmd/htdocs/reports/"
|
||||
attr_reader :unix_name, :mod, :title, :src
|
||||
attr_accessor :barrels
|
||||
def initialize(title, unix_name, mod, src )
|
||||
@title = title
|
||||
@unix_name = unix_name
|
||||
@ -170,6 +171,7 @@ if __FILE__ == $0
|
||||
m.add_barrel Point.new((x*600)+300, 1100)
|
||||
m.add_barrel Point.new((x*600)+300, 500)
|
||||
}
|
||||
j.barrels = pmd.nooks * 2
|
||||
m.create_wad(j.wad + ".tmp")
|
||||
cmd = "./bsp " + j.wad + ".tmp -o " + j.wad + " && rm -f " + j.wad + ".tmp"
|
||||
`#{cmd}`
|
||||
@ -191,7 +193,7 @@ if __FILE__ == $0
|
||||
"pmd"=>j.pmd_lines.to_s,
|
||||
"pctg"=>fm["pctg.frag", {"color"=>j.color, "pctg"=>j.pctg.to_s}],
|
||||
"dupe"=>fm["cpd.frag", {"file"=>j.cpd_file, "dupes"=>j.cpd_lines.to_s}],
|
||||
"doom"=>fm["doom.frag", {"file"=>j.wad}]
|
||||
"doom"=>fm["doom.frag", {"file"=>j.wad, "barrels"=>j.barrels}]
|
||||
}] unless !File.exists?(j.report) || !File.exists?(j.ncss_report) || j.ncss == 0
|
||||
}
|
||||
File.open("scoreboard.html", "w") {|f| f.syswrite(out)}
|
||||
|
Reference in New Issue
Block a user