Analyzing the code quality of Windows Store apps with Visual Studio code analysis

The code analysis tool in Microsoft Visual Studio Express 2012 for Windows 8 examines your code for a set of common defects and violations of good programming practice. Code analysis warnings differ from compiler errors and warnings because the code analysis tool searches for specific code patterns that are valid but could still create issues for you or other people who use your code. Code analysis can also find defects in your code that are difficult to discover through testing. Running the code analysis tool at regular intervals during your development process can enhance the quality of your completed app.

Note

Code analysis is not available for JavaScript code.

In this section

Analyzing Visual Basic and C# code quality in Windows Store apps with Visual Studio code analysis

Use code analysis in Visual Basic and C# projects.

Analyzing C++ code quality of Windows Store apps with Visual Studio code analysis

Use code analysis in C++ projects.

More code analysis info

Code analysis in the MSDN Library

Find more information about using code analysis in Visual Studio Ultimate, Visual Studio Premium, and Visual Studio Professional.

MSDN code analysis team blog

Find more information, including technical papers and samples on the code analysis team blog.