-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonar-project.properties
55 lines (49 loc) · 1.85 KB
/
sonar-project.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Project info
sonar.organization=vws
sonar.projectKey=nl-rdo-woo-web-private
sonar.projectName=nl-rdo-woo-web-private
# Info links shown in SonarCloud
sonar.links.homepage=https://github.com/minvws/nl-rdo-woo-web-private
# Encoding and language specific properties
sonar.sourceEncoding=UTF-8
sonar.python.version=3.11
# Analysis scoping
sonar.sources=assets,public,src,templates
sonar.tests=tests
# Code coverage
# UploadArea.vue can not be tested since the browser does not allow setting the value of the input element
sonar.php.tests.reportPath=reports/report-phpunit.xml
sonar.php.coverage.reportPaths=reports/coverage-phpunit.xml
sonar.javascript.lcov.reportPaths=coverage/lcov.info
sonar.coverage.exclusions=\
public/**/*,\
templates/**/*,\
assets/**/*.test.ts,\
assets/**/UploadArea.vue,\
assets/js/admin/vue/bootstrap.ts,\
assets/js/admin/index.ts,\
assets/js/public/index.ts,\
src/Controller/**/*,\
src/DataCollector/**/*,\
src/DataFixtures/**/*,\
src/DependencyInjection/**/*,\
src/Doctrine/*,\
src/Domain/Publication/Dossier/Type/*/*Workflow.php,\
src/Form/**/*,\
src/Kernel.php
# Duplication exclusions (TODO: improve this, see issues #2136 and #2210)
sonar.cpd.exclusions=\
public/**/*,\
templates/**/*,\
src/Controller/**/*,\
assets/js/admin/vue/**/*,\
assets/js/**/*.test.ts,\
src/Domain/Publication/Dossier/Type/*/*Workflow.php,\
src/Domain/Publication/Dossier/Type/*/ViewModel/*,\
src/Form/**/*,\
src/Api/Admin/*/*Dto.php,\
src/EventSubscriber/SecurityHeaderSubscriber.php
# Additional reports
sonar.php.phpstan.reportPaths=reports/phpstan.json
# NOTE: ESlint is not yet reported in UI, see https://medium.com/@jose_82797/how-to-import-eslint-issues-into-sonarqube-overview-analysis-in-a-frontend-application-b8e8946b8104
sonar.eslint.reportPaths=reports/eslint.json