Explanation:
I've developed a plugin that scans through a project for xml files with a particular name, and performs some parsing logic that determines backwards compatibility of changes made to certain subsets of the project code. Right now I have a widget on the sonarqube dashboard which displays information regarding the number of non backwards compatible issues detected after checking these xml files.
Question:
I would like to enable the functionality in the plugin to add the xml files that have a non-backwards compatible flag to the 'Issues' tab, with a critical severity set. Developers in the team could then hopefully see these issues added to the overall issue count rather than checking on a dashboard widget alone. I have a Metrics, Sensor, Plugin and RubyWidget class after extending the reference plugin, as well as my own classes that add the functionality of finding the files and performing the parsing logic.
Is there a class I can extend to add this new issue to the issue count and grant users the ability to inspect the xml files to see the description of the issue itself?
How can I incorporate this functionality? Thanks.