Take the 2-minute tour ×

What are the basic minimum set of Code Analysis rules that you would recommend for a 200K LOC solution? We're using unit testing but code analysis has been turned off.

Ideally all rules would be turned on by default but I'd like to do this gently and turn on rules in batches so we do not have to deal with everything at once. So, what rules do I start with?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

I've found a list of rules turned on by Microsoft as of 2007.

Not really a set of rules but a good advice on turning on Code Analysis on an existing code base can be found in Phil Haack's answer to a related question.

share|improve this answer
add comment

Your Answer


