RE: [tasklist] pmd-cpd
"Mike Skells" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.tasklist.devel |
|---|---|
| Message-ID | <003901c2ea08$4f866180$9500a8c0@mikework> |
Hi Tor I think that there are a few modes for operation. 1. there is still copy and paste in the same file, is there much CPU overhead scanning the current file, and perhaps the inheritance tree. I don't know, but I guess that it would be nice as an option, sort of 'oops all that code that you just wrote is duplicated'. I guess that the CPU overhead is somethink to play with. 2. running it on some package(s) explicitly as you suggest, but also on all of my (writable) mounted directories. 3. as 2 but running in the background, as a child thread, process or a network attached process, accessing the files across the network from the NB file service. This could also be done for the scan directory for suggestions couldn't it? As for the UI I don't much care for the the CPD UI but I guess that it would be each to integrate that first and then integrate it with the tasklist type view later. I am more interested in the 'fix this' button, and the options to refactor the duplication! I guess that this is a touch trickier! Mike > -----Original Message----- > From: Tor Norbye [mailto:[email protected]] > Sent: Friday 14 March 2003 08:49 > To: [email protected] > Subject: RE: [tasklist] pmd-cpd > > > Hi Mike, > how would you like to see it integrated? Like the dialog > shown in the linked-to article? Or something else? > > Since it's so CPU intensive I don't think it should be part > of the regular document scan (besides, scanning for a single > document is kind of useless since you typically want to find > inter-file duplicates). I'm thinking an action next to "Scan > Directory For Suggestions" (e.g. "Scan Directory for > Copy/Paste Duplicates") might do the trick. > > -- Tor > > On Fri, 2003-03-14 at 00:34, Mike Skells wrote: > > Hi, > > It gets my vote > > > > Mike > > > > > -----Original Message----- > > > From: vbrabant [mailto:[email protected]] > > > Sent: Thursday 13 March 2003 21:30 > > > To: [email protected] > > > Subject: [tasklist] pmd-cpd > > > > > > > > > Do you know the other program delivered with PMD > > > (http://www.onjava.com/pub/a/onjava/2003/03/12/pmd_cpd.html) ? > > > > > > I think it can be also very interresting if it could be > > > integrated into > > > netbeans. > > > No idea if it has to be introduced in tasklist or not, but if > > > you want a > > > idea, > > > here in attach the result of pmd-cpd on my local version > of tasklist > > > module (don't remember when last up has been done). > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > -- > Tor Norbye <[email protected]> > Sun Microsystems, Inc > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >