blob: 069af4b51225f11d31809f984fc635d11d7d40b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
---
title: Supporting SCM Providers
url: /extend/adding-scm/
---
SonarQube Scanner uses information from the project's SCM, if available, to:
* Assign a new issue to the person who introduced it. The last committer on the related line of code is considered to be the author of the issue.
* Estimate the coverage on New Code, including added and changed code since in your New Code.
* Display the most recent commit on each line the code viewer.
![Commit info is available from the margin of the code viewer](/images/commit-info-in-code-viewer.png)
The only required SCM command is "blame", which gets the last committer of each line for a given file. This command is executed by a SonarQube plugin through the extension point `org.sonar.api.batch.scm.ScmProvider`. See the embedded SCM integrations, for instance [Git](/analysis/scm-integration/), for more details.
|