The goal is to highlight the proof, for instance of cyclomatic complexity (see attached screenshot)
The idea here is to be able to show all the locations which contributed to the creation of this issue.
We often have users coming back asking where the complexity is coming from, and this feature would allow them to quickly understand how it is computed, directly from the issue itself.
Of course the following screenshot does not suggest how this should be rendered in the UI, perhaps some highlighting mechanism would be much more appropriate than arrows.
Issue API should allow to declare an ordered list of code locations. Each of them can have a plain-text message. A code location is a range of couples <line, offset> (see
SONAR-4865). First step is to deal only with references in the same file. Cross-files and cross-project references will be supported later.