Skip to content
This repository was archived by the owner on Mar 2, 2023. It is now read-only.

VHDLTool/sonar-coverage-ghdl

Repository files navigation

SonarQube Linty Gcov Plugin

This plugin is now useless as this feature is available out-of-the-box from gcovr: https://gcovr.com/en/master/output/sonarqube.html

Feature

This plugin allows to import Gcov reports data in SonarQube. Gcov reports can be obtained from VHDL files using ghdl-gcc.

Build Plugin

Without integration tests:

mvn clean package

With integration tests on SonarQube 9.7.0.61563 version:

mvn clean verify -Pits -Dsonar.runtimeVersion=9.7.0.61563

Update license headers:

mvn license:format -Pits

Update All Dependencies

# Check for Maven dependencies to update
mvn org.codehaus.mojo:versions-maven-plugin:2.12.0:display-dependency-updates -Pits

# Check for Maven plugins to update
mvn org.codehaus.mojo:versions-maven-plugin:2.12.0:display-plugin-updates -Pits

# Check for versions in properties to update
mvn org.codehaus.mojo:versions-maven-plugin:2.12.0:display-property-updates -Pits

# Update parent POM
mvn org.codehaus.mojo:versions-maven-plugin:2.12.0:update-parent

Usage

All .gcov files present in the project directory will be analysed. The results will be shown in the project's coverage tab in Sonarqube.

More information

  1. Install Ghdl
  2. Get gcov results
  3. Run an analysis

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages