Skip to end of metadata
Go to start of metadata

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, on the new code period. 
     
  • display last commits in sources

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 multiple existing plugins, for instance Git, for more details.

  • No labels