[kepler-dev] [Bug 4926] Examine Kepler for duplicated Ptolemy code
bugzilla-daemon at ecoinformatics.org
bugzilla-daemon at ecoinformatics.org
Sun Jun 17 18:39:42 PDT 2012
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4926
Christopher Brooks <cxh at eecs.berkeley.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|berkley at nceas.ucsb.edu |cxh at eecs.berkeley.edu
Target Milestone|Unspecified |2.5.0
--- Comment #1 from Christopher Brooks <cxh at eecs.berkeley.edu> 2012-06-17 18:39:42 PDT ---
./actors/src/org/sdm/spa/gui/ShellTextArea.java
has trivial differences from
ptolemy/gui/ShellTextArea.java, so I removed the duplicate version.
I checked for duplicates using cpd at http://pmd.sourceforge.net/cpd.html
and with a minimum token count of 500, I did not find anything too bad.
Note that cpd does point out duplicates in Ptolemy II itself.
To run cpd, I used
java -Xmx5000m -classpath 'lib/*:saxon9-dom.jar' net.sourceforge.pmd.cpd.CPD
--minimum-tokens 500 --files ~/src/kepler --format
net.sourceforge.pmd.cpd.XMLRenderer > kepler.xml
xsltproc etc/xslt/cpdhtml.xslt kepler.xml > kepler.html
I'm retargetting this to 2.5.0 so it can be checked again.
--
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the Kepler-dev
mailing list