I can see line based SCM blame information in UI, but where is it stored and how can I retrieve through web API?
I am using Perforce plugin.
The issue is that the Perforce plugin finds the blame information from history, and because of that if a user has created a debt in a past branch, it still shows on his name in the current branch analysis.
The Perforce plugin does not have any such way to disable looking into history beyond the current branch.
I need to find another way to find out, if the debt is really introduced in this branch or not.
The real question here is how to find out this:
I need to find another way to find out, if the debt is really introduced in this branch or not.
The right way to do this has nothing to do with filtering out blame information and/or disable looking into history beyond the current branch.
The right approach to solve that use-case (is debt really introduced in this branch or not) is to set the Leak Period to the 'origin' of the branch. The SonarQube Project Space will then constantly give you the status of your project compared to that baseline (i.e. New Bugs, New Debt, Coverage on New Code etc. see Leak Period yellow pane on the right).
来源:https://stackoverflow.com/questions/39010513/where-is-line-based-scm-blame-information-stored