Is there a tool to finding redundancy through out a set of library code (.net C#)?
The problem is I have a number of .NET libraries, but they tend to have a lot of similar/duplicate "helper" or "utility" functions. Some times the code may not be exactly utility, but follows similar patterns with slightly different naming.
Is there a tool of some kind that can spot these similarities and report them on a batch of C# libraries?
Visual Studio 11 (currently only a developer preview) has this functionality. You can download the Developer Preview for free to check it out.
It's called Code Clone Analysis and it searches trough your code looking for similarities and generates a report that varies from exact matches to probable matches.
Here you can find a small example.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With