refactoring - Eliminating code duplication in a single file -


Unfortunately, a project on which I am working recently has a large amount of copy-paste code, even in single. Files Can any device or techniques detect repetitious or near-duplication in a file? I'm beyond comparison 3 and works well to compare different files, but I'm in loss to compare single files.

Thanks in advance.

Edit:

Thanks for all the great tools! I will definitely check them out.

This project is an asp.net / c # project, but I work with many languages ​​including Java; I'm interested in the best tool for deleting duplicates ( for any language ).

Check out receives duplicate code which is central to extracting a location.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -