Home  >  Article  >  Software Tutorial  >  How to view the results of code metrics in Visual Studio 2019

How to view the results of code metrics in Visual Studio 2019

PHPz
PHPzforward
2024-05-09 15:10:15719browse

Confused by code metrics? Visual Studio 2019 provides a variety of code metrics to help you evaluate code quality and efficiency. But how to view these values? This article walks you through simple steps to view the results of code metrics in Visual Studio 2019, allowing you to easily identify potential issues and improve code quality.

Visual Studio 2019查看代码度量值的结果的方法

1. Open Visual Studio 2019 and click the Analysis button in the menu bar to start using it.

2. In this drop-down menu, see the Calculate Code Metrics command.

3. At this time, you can select the application scope here.

4. Not only can this solution be used, but it can also be set only for the current value.

5. Afterwards, you can see such a measurement result window.

6. You can also use other functions such as switching here.

The above is the detailed content of How to view the results of code metrics in Visual Studio 2019. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:zol.com.cn. If there is any infringement, please contact admin@php.cn delete