次の方法で共有


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

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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

In This Section

Title Description
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.
Using the C++ Core Guidelines checkers Add the C++ Core Guidelines checkers to your project.
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

Analyzing Application Quality
Analyzing Managed Code Quality