diff --git a/sonar-project.properties b/sonar-project.properties index a058804d..8fe0ea9f 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -10,6 +10,10 @@ sonar.sources=. # Encoding of the source code. Default is default system encoding sonar.sourceEncoding=UTF-8 +# Ignore duplication on test files. +# These files contain raw transaction data, which contains duplicated parts (headers, etc). +sonar.cpd.exclusions=libsol/*_test.c + sonar.cfamily.threads=1 sonar.cfamily.cache.enabled=false