Code Quality Check
-
I am new to .Net , I have developed an application using C#.I want check the code quality of my application .Can any one suggest any tool ,which perform code quality check?
-
I am new to .Net , I have developed an application using C#.I want check the code quality of my application .Can any one suggest any tool ,which perform code quality check?
There are two tools you can go with (simultanously): 1. FxCop (as mentioned by "Abhinav S"). 2. StyleCop The first one checks if your code conforms to rules Microsoft established for .NET applications design (for example methods, that don't use classes should be declared as static, all fields should be private). The second one checks your code style (members should be commented, there should be single empty line between members). Some of rules (like naming rules) are common for both those tools, some can only be found in one of them. Both are great way to learn to write clean and maintainable code.
-
There are two tools you can go with (simultanously): 1. FxCop (as mentioned by "Abhinav S"). 2. StyleCop The first one checks if your code conforms to rules Microsoft established for .NET applications design (for example methods, that don't use classes should be declared as static, all fields should be private). The second one checks your code style (members should be commented, there should be single empty line between members). Some of rules (like naming rules) are common for both those tools, some can only be found in one of them. Both are great way to learn to write clean and maintainable code.