Performing code analysis in IntelliJ IDEA

When I start committing changes to VCS, the following commit dialog box appears.

Screenshot of IntelliJ commit dialog

I checked the option "Perform code analysis". If I click commit, the analysis of the code will begin, and when it finishes, I will get the following dialog to view the analysis results:

Screenshot of Code Analysis Result

If I click the browse button, I will view the results.

I would like to start the exact same analysis manually. My IntelliJ IDEA Version: 14.1.1 (built March 31, 2015)

Is it possible to start the analysis of commit dialog code without commit in IntelliJ?

+6
source share
1 answer

Analyze -> Check code (maba answer).

You can specify scan profiles in the project settings. More information on inspection profiles can be found here https://www.jetbrains.com/idea/documentation/static_code_analysis.html

You can also search for third-party plugins if your language / framework is not supported out of the box.

+3
source

Source: https://habr.com/ru/post/989619/


All Articles