Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Analyze the code quality of Store apps using Visual Studio static code analysis

Visual Studio 2015

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

Applies to Windows and Windows Phone

The code analysis tool in Visual Studio 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.

System_CAPS_ICON_note.jpg Note

Code analysis is not available for JavaScript code.

Analyze Visual Basic and C# code qualityUse code analysis in Visual Basic and C# projects.
Analyze C++ code qualityUse code analysis in C++ projects.
Code analysis in the MSDN LibraryFind more information about using code analysis in Visual Studio Ultimate, Visual Studio Premium, and Visual Studio Professional.
MSDN code analysis team blogFind more information, including technical papers and samples on the code analysis team blog.
© 2017 Microsoft