forked from artifact-keeper/artifact-keeper
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsonar-project.properties
More file actions
22 lines (17 loc) · 897 Bytes
/
sonar-project.properties
File metadata and controls
22 lines (17 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
sonar.projectKey=artifact-keeper_artifact-keeper
sonar.organization=artifact-keeper
# Rust backend source + Dockerfiles
sonar.sources=backend/src,docker
sonar.tests=backend/src
sonar.test.inclusions=**/*test*.rs,**/*tests*.rs
# Exclude build artifacts, generated code, and test fixtures
sonar.exclusions=target/**,.sqlx/**,.assets/**,scripts/**,data/**,site/**
# Exclude async HTTP handlers and route wiring from coverage analysis.
# These are thin glue layers (extract params → call service → return JSON)
# that require a running server + database to exercise. Pure logic within
# them is extracted into testable functions in the services layer.
sonar.coverage.exclusions=backend/src/api/handlers/**,backend/src/api/routes.rs
# Exclude test files and seed data from duplication detection
sonar.cpd.exclusions=**/*test*.rs,**/*tests*.rs
# Rust source encoding
sonar.sourceEncoding=UTF-8