Hello,
Our project uses git as configuration management and contains non-quality issues that are related to documentation (traceability links, broken links in documentations etc…). We would like to display theses information within the “new code” tab to easily identify the “debt” a branch contains relatively to the main branch.
Theses non-quality issues are computed by our internal documentation tool and various python scripts so I’ve tried to create Generic formatted issue reports and even though the newly introduced issues are correctly displayed in the overall tab, when I comes to new code I’m struggling a bit. Due to the nature of the issues I can’t fill the “primaryLocation” section with precision (sometime I can’t tell from which file the issue is coming) and therefore the issue is not displayed in the “new code” tab because the “primaryLocation” hasn’t been modified if the feature branch.
For example:
In my feature branch I want to create a new traceability link between Req1 and Req25 but unfortunately I misspelled the name of Req25 into Rqe25 => my internal tool will indicate a traceability issue but can’t tell in which file the issue is located (traceability file itself? wrong configuration management of Rqe25?) Globally I don’t really care of the exact location, I just want the “new code” tab on my feature branch to show me that I have introduced a traceability issue on whichever file.
Therefore I have two questions:
- Is this behavior achievable with built-in sonar functionalities ?
- If its not, I think I am able to develop a custom plugin but is this even possible with such a development ?
I hope I was clear enough, thank you for you answers.