08 Nov 2009 @ 10:13 AM 
 

CopyPasteKiller-find duplicate code in codebase

 

CopyPasteKiller-find duplicate code in codebase

http://www.nitriq.com/CopyPasteKiller/

CopyPasteKiller is a free tool for .Net developers that will analyze a directory of code and find large chunks of similar code in multiple locations. This similar code can then be refactored either by creating a base class or by reducing the protection level on the method so it can be called by multiple classes. Technically, CopyPasteKiller should be called CopyPasteFinder because its up to you to remove the duplicate code, but CopyPasteFinder isn't nearly as fun a name as CopyPasteKiller.

CopyPasteKiller finds similar code, not exact matches. It ignores "fluff" like whitespace, string content, curly braces, comments and using/import statements. In VB.NET it will also ignore lines that contain only "Next", "End While", "End Try", "End If", "End

Tags Tags:
Categories: Dev-NET, Development
Posted By: Jason
Last Edit: 08 Nov 2009 @ 10 13 AM

EmailPermalink
 

Responses to this post » (None)

 

Sorry, but comments are closed. Check out another post and speak up!

 Comment Meta:
RSS Feed for comments
\/ More Options ...
Change Theme...
  • Users » 2
  • Posts/Pages » 3,494
  • Comments » 79
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

.NET



    No Child Pages.

About



    No Child Pages.

Contact



    No Child Pages.