you can use microsoft visual studio for this here is link of it , this feature is part of visual studio 2013 mostly part of Code analyzer.
Finding Duplicate Code by using Code Clone Detection
couple of good question sabout code coverage:
What can I use for good quality Code Coverage for C#/.NET?
Also look at Microsoft's FxCop for static analysis:
http://msdn.microsoft.com/en-us/library/bb429476(VS.80).aspx