This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 122497 - Remove duplicated code
Summary: Remove duplicated code
Status: NEW
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Milan Kuchtiak
Depends on: 124115 124168
  Show dependency tree
Reported: 2007-11-21 13:14 UTC by Lukas Jungmann
Modified: 2007-12-17 23:12 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:

pmd output (92.10 KB, text/plain)
2007-11-21 13:15 UTC, Lukas Jungmann

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2007-11-21 13:14:26 UTC
PMD's Copy/Paste Detector (CPD)[1] finds some duplicated code in websvc modules. It would be good to get rid of at least
some duplicates so we have a bit less code to maintain etc.

This is mainly for the record - it would be good to go through the attachment, evaluate duplicates there and file
appropriate issues.

Attachment has been generated by following command:

lukas@pomeray:/space/cvs/trunk/websvc$ java -cp /space/java/libs/pmd-4.1/lib/pmd-4.1.jar -Xmx512m
net.sourceforge.pmd.cpd.CPD --minimum-tokens 150 --files core/src/ --files design/src/ --files jaxwsmodel/src/ --files
editorhints/src/ --files  clientapi/src/ --files jaxrpcsupport/src/ --files customization/src/ --files jaxwsapi/src/
--files websvcapi/src/ --files websvcddapi/src/ > /home/lukas/cpd.txt

Comment 1 Lukas Jungmann 2007-11-21 13:15:02 UTC
Created attachment 53296 [details]
pmd output