Robotic Piano - Project Code Metrics
Project Code Metrics
- Code metrics in Visual Studio is a tool for measuring the quality and complexity of our code.
- It provides us various metrics whose values validate our code. This tool comes with Visual Studio Premium and Visual Studio Ultimate editions.
- We can also download its extension and install that in our Visual Studio. Using this tool to validate our code is a good practice since it will not only improve how we code but also make our application maintainable and less complex.
- To calculate code metrics we need to select our project from Solution Explorer (in case we have more than 1 project and if we want to see the code metrics for a single project otherwise we can select calculate code metrics for the solution) and then go to the analyze option in the menu bar and choose calculate code metrics for the selected project.
project code metrics