VHDLTool / Sonarqube-Rulechecker-Demo

Holds the example demo project on zamiacad-rulechecker and sonarqube
4 stars 0 forks source link

improve sonar property file #3

Open LeFl0w opened 5 years ago

LeFl0w commented 5 years ago

Sonar property file can be improve to ease coverage configuration . This can look that this one:

# must be unique in a given SonarQube instance
sonar.projectKey=plasma
# this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1.
sonar.projectName=plasma
sonar.projectVersion=1
 
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
# Since SonarQube 4.2, this property is optional if sonar.modules is set. 
# If not set, SonarQube starts looking for source code from the directory containing 
# the sonar-project.properties file.
sonar.sources=./plasma/trunk/vhdl
 
# Encoding of the source code. Default is default system encoding
#sonar.sourceEncoding=UTF-8

#configuration VHDLRC
sonar.vhdlrc.topEntities=PLASMA
sonar.vhdlrc.file.suffixes=.vhdl, .vhd

######enable GCOV coverage######
sonar.gcov.enableCoverage=true

######enable Modelsim Coverage (should be exclusive with GCOV)######
##disable GCOV coverage
#sonar.gcov.enableCoverage=false
#
##select coverage type for coverage importation and display   branch or condition
##Statement coverage is always imported
#sonar.modelsim.modelsimReportMode=branch 
#
##select name of modelsim XML report
#sonar.modelsim.reportPath=report.txt.xml
LeFl0w commented 4 years ago

VHDLRC-synth parameters still got to b included. the coevrage one are now included in the properties files