inspec/sonar-project.properties
Vasundhara Jagdale d4dd13b2ba
CHEF-3160: Improve code coverage % on inspec-5 branch (#6957)
* Exclude test files and examples file from code coverage to

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

* Get sonarqube working for inspec-5 branch through CI

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>

---------

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
2024-01-30 17:18:37 +05:30

17 lines
No EOL
628 B
Properties

# must be unique in a given SonarQube instance
sonar.projectKey=inspec_inspec_AYahEXtgJ4YHsO5MtHEr
sonar.projectName=Chef-Inspec-inspec
# path to test coverage report generated by simplecov
sonar.ruby.coverage.reportPaths=coverage/coverage.json
# exclude test directories from coverage
sonar.coverage.exclusions=lib/bundles/inspec-compliance/*,examples/**/*,test/**,lib/plugins/*/test/**/*,test/unit/**/*,test/unit/*,test/functional/*,test/fixtures/**/*,test/artifacts/**/*\
sonar.exclusions=**/*.java,**/*.js,vendor/*
# skip C-language processor
sonar.c.file.suffixes=-
sonar.cpp.file.suffixes=-
sonar.objc.file.suffixes=-