- Running every rule on an existing code base usually results in a massive backlog
- Most developers, myself included, are unfamiliar with at least some of the rules
Our planned approach is to enable several of the rules as warnings on the build server. After the developers have addressed any issues, the build will be modified to fail on future violations of those rules. Slowly adding rules, first as warnings and then as errors, will allow us to clean up our existing code base and prevent new violations from being introduced. As we go I will be putting together examples of violations and fixes. I'll post the examples for those who want to follow along at home.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.