Analyzing C/C++ Code Quality by Using Code Analysis

You can improve your C/C++ code by using the code analysis in Visual Studio to find and fix code defects.

In This Section

Code Analysis for C/C++ Overview

Learn about the features of the code analysis tool.

Quick Start: Code Analysis for C/C++

Learn the basics of code analysis for C/C++.

Using Rule Sets to Specify the C++ Rules to Run

Specify the rules to run on your project or solution.

How to: Set Code Analysis Properties for C/C++ Projects

Describes the configuration settings for code analysis.

How to: Specify Additional Code Information by Using __analysis_assume

Learn how to use __analysis_assume to improve code analysis.

Walkthrough: Analyzing C/C++ Code for Defects

Gain hands-on experience by performing code analysis on a C/C++ project.

Using SAL Annotations to Reduce C/C++ Code Defects

Learn about annotation features of the code analysis tool to detect violations of the contract between the caller and the callee.

Code Analysis for C/C++ Warnings

Lists and describes code analysis warnings.

See Also

Concepts

Analyzing Application Quality by Using Code Analysis Tools

Analyzing Managed Code Quality by Using Code Analysis