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
URL:
Keywords:
Depends on: 124115 124168
Blocks:
  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:


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

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

[1]: http://pmd.sourceforge.net/cpd.html
Comment 1 Lukas Jungmann 2007-11-21 13:15:02 UTC
Created attachment 53296 [details]
pmd output