I'd like to generate a dummy data for SonarQube to develop further Qualinsight SVN Badges.
Does SonarQube have the capability of generating "sandbox data" for developers? Or are there already features available for this kind of use-case?
The things I need to generate for are data for LOCs, Coverage, New Coverage, and Vulnerabilities with their respective periods.
No, SonarQube does not provide sample data.
However it is not difficult to get some data analyzed.
Either create minimal contents like this:
Or check-out any pre-configured maven project (like for example "SonarSource/sonarqube" from github) and run
mvn sonar:sonar
.Another solution might be to analyse your plugin's own source code. You will probably have it already configured. This might have the additional benefit, that you know your own code well, which will make it easier for you to understand and verify SonarQube's findings and statistics.