Developed a custom SonarQube plugin (using Java) per version 7.9.5.
The plugin has been developed by myself and a small team; however the documentation is awful and we’re incredibly lost as to how to see results in SonarQube. The only thing that we have at this point is context.reportIssue() when we want to raise an issue. We believe there is much more being missed but can’t find anything to get us the info we need to know what comes next. Honestly, we need to raise an issue (only at the class level) and I’m not even sure we’re doing that right (and ultimately aggregate the results into a project level measure too). Unable to find resources online to on that either to help realize that one way or the other.
1.) Created a new metric and am unable to find anything useful online as to how to report the measure to SonarQube under the metric.
2.) Ideally, We’d be able to see a project level measure (percentage) and within it, a class level measure (percentage) right in SonarQube. Note that the plugin is loaded into the extensions/plugins folder. Able to see the plugin in SonarQube but nothing from our new rule.
Can anyone help please?
Please note that between myself and the others working with me… we have seen just about every potentially useful piece of documentation that is easy and not easy to find on the internet. Need something that can spell it out like any normal good documentation would.
What should we be studying to accomplish this? e.g.(referral to someone or some specific thorough documentation… Not Sonars Docs as they aren’t so great on this topic or any topic related to the bowels of custom plugin development for this platform).
What would be required from a development standpoint? e.g.(separate Sonar project, some form of widget creation in the custom plugin project itself, etc…)
Anything else you can refer me to or enlighten me on?
To be honest, if anyone would be up for a short one-on-one, would really appreciate it.
This is first time doing ‘anything’ Sonar** and anything you have helps.
What are all the _java.html and _java.json files in the src/main/resources? Can’t find anything online on these that really explain where / how they are used or can be used.
Thank you ‘so’ much in advance for you guidance here.