2023-04-18 10:24:38 +02:00
|
|
|
# Copyright (c) Team CharLS.
|
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
|
|
|
|
sonar.projectKey = team-charls_charls
|
|
|
|
sonar.organization = team-charls
|
2023-01-04 22:07:03 +01:00
|
|
|
|
|
|
|
# This is the name and version displayed in the SonarCloud UI.
|
2023-04-18 10:24:38 +02:00
|
|
|
sonar.projectName = CharLS
|
|
|
|
sonar.projectVersion = 3.0.0
|
2023-01-04 22:07:03 +01:00
|
|
|
|
|
|
|
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
|
|
|
|
# sonar.sources=./src
|
|
|
|
|
|
|
|
# Encoding of the source code. Default is default system encoding
|
2023-04-18 10:24:38 +02:00
|
|
|
sonar.sourceEncoding = UTF-8
|
|
|
|
|
|
|
|
# Define the source code to scan (only scan files that are part of the CharLS library)
|
|
|
|
sonar.sources = src/,include/
|
|
|
|
sonar.tests = test/,unittest/,benchmark/,fuzztest/
|
2023-01-04 22:07:03 +01:00
|
|
|
|
2023-04-18 10:24:38 +02:00
|
|
|
# Duplication exclusions
|
|
|
|
# SonarQube reports often false warnings for template classes., exclude these files.
|
|
|
|
sonar.cpd.exclusions = src/scan_decoder_impl.h,src/scan_encoder_impl.h
|