The Analyze
menu has been removed in Visual Studio 2026. The functionality provided by this menu has been moved into different places (i.e. Code Cleanup was moved into project context menus in Solution Explorer, etc).
To access Calculate code metrics
, in Visual Studio 2026, simply click on View
-> Other windows
-> Code Metrics
. In the tool window that opened, press this button:
. It will calculate code metrics for the selected/current project.