Supporting SCM providers
The SonarQube Scanner uses information from the project's SCM provider, 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 in the code viewer.
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 documentation for more details.
© 2008-2023, SonarSource S.A, Switzerland. Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution-NonCommercial 3.0 United States License. SONARQUBE is a trademark of SonarSource SA. All other trademarks and copyrights are the property of their respective owners.