I'm running Microsoft Team Foundation Server 2010, and using it to build a .NET 4.0 Solution.
I have enabled gated checkins, and we run our tests as part of the build, so the server rejects any checkin that causes the tests to break.
However, I want to take this a step further and reject checkins that contain more than a certain proportion of code duplication.
Is there a tool for TFS 2010, or perhaps an existing feature that I've missed, that would allow me to do this?