Metric or Plugin for My Custom Measure

We currently use a spreadsheet to calculate a quality indicator for our source code. We input in measures such as code duplication, length violations, code coverage and smells which gives a percentage value. I’m looking for the simplest way that we can automate this calculation into SonarQube directly such that the score is produced for each build (Builds code be Java, C++ or C# code).

Does this sound like a plugin or should I be investigating measures and how to populate them. I’m pretty new to SonarQube so any relevant examples or getting started guides would be incredibly helpful.

I’m using the Community edition for development of this but the intention is it will go to our enterprise instance once confirmed as suitable.


Welcome to the community.

To add a measure, you’ll certainly have to write a new plugin.