harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paulex Yang <paulex.y...@gmail.com>
Subject Re: [tests] cpd report available
Date Wed, 22 Nov 2006 10:00:22 GMT
Stefano Mazzocchi wrote:
> I've managed to run CPD[1] against harmony classlib.
> CPD (or cut/paste detector) is a tool that is capable of showing where
> code was cut/pasted from different parts of the source tree.
> I managed to filter out all the tests (because they seem to have a good
> amount of cut/paste and that is not necessarily a problem) but there is
> still a lot of code that is was cut/pasted and might be worth
> considering for refactoring.
> Find it at
Cool! possible to exclude some special classes, such as Local_***.java 
and nls/Messages.java? They are either only data, or intentionally keep 
a copy in every module.

Paulex Yang
China Software Development Lab

View raw message