concept code analysis in category .net

appears as: code alysis, code analysis
Continuous Integration in .NET

This is an excerpt from Manning's book Continuous Integration in .NET.

Next is the daily build, often called the nightly build. Rather than running whenever the code changes, the daily build is scheduled to run once per day, usually in the middle of the night. Because you don’t need to worry about the next build starting immediately, the daily build typically runs a complete suite of unit tests against all the code. Depending on your environment, you may want to add additional automated tests or code analysis.

Another build type is the weekly build, which runs automatically and usually on the weekend. Once a week, you should run a code analysis and additional tests with tools like Selenium, FitNesse, and NUnitForms. You may also want to create documentation with Sandcastle or do continuous database integration. As you get closer to your release date, you may want to run the weekly test build more often. You’ll also want to run a release build.

FxCop is a free Microsoft tool for code analysis. It examines compiled .NET assemblies for things like performance, naming conventions, library design, globalization, and security.