classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

duplicated code


From: Tom Tromey
Subject: duplicated code
Date: 14 Apr 2004 20:39:44 -0600

A fellow Red Hatter, Vadim Nasardinov, has a program that looks for
cut-and-paste code.  He ran it on Classpath, you can see the results
here:

http://people.redhat.com/~vadimn/scratch/classpath-cpd.txt

The program itself is here:

http://pmd.sourceforge.net

I looked through the results briefly... some of it is unavoidable
(either machine generated code like the Locale stuff or multiple
copies of code in Arrays).  However, at least the character set tables
could be shared between the input and output classes.

Tom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]