-
Notifications
You must be signed in to change notification settings - Fork 6
Code Analysis and Stylecop
Muhammad Afzal Qureshi edited this page May 16, 2014
·
1 revision
- Code Analysis feature of Visual Studio performs static code analysis on code to help developers identify potential design, globalization, interoperability, performance, security, and a lot of other categories of potential problems.
- These rules that mainly targets best practices in writing code.
- A custom ruleset file must be added in the solutionItems folder and all projects must follow it. The UI project should follow Recommended ruleset.
- No rule should be suppressed until the proper justification is given and discussed with me first.
- Avoid duplicate code by using ‘Code Clone’ feature of Visual Studio.
- Stylecop helps to beautify your code and recommended coding style as per Microsoft Design guidelines.
- No code should be committed until all warnings of code analysis and stylecop are solved.