Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update sonar-project.properties [ci-skip]
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 24 Feb 2023 13:48:59 +0000 (14:48 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 24 Feb 2023 15:42:29 +0000 (16:42 +0100)
sonar-project.properties

index d947564..c0e695c 100644 (file)
@@ -115,6 +115,9 @@ sonar.issue.ignore.multicriteria.cxx17e.resourceKey=include/**/*.hpp
 # C++17: The "_t" and "_v" version of type traits should be used instead of "::type" and "::value"
 sonar.issue.ignore.multicriteria.cxx17f.ruleKey=cpp:S6020
 sonar.issue.ignore.multicriteria.cxx17f.resourceKey=include/**/*.hpp
+# C++17: "std::scoped_lock" should be used instead of "std::lock_guard"
+sonar.issue.ignore.multicriteria.cxx17g.ruleKey=cpp:S5997
+sonar.issue.ignore.multicriteria.cxx17g.resourceKey=include/**/*.hpp
 
 # "reinterpret_cast" should not be used
 # But we need this to interface C and Fortran
@@ -148,14 +151,13 @@ sonar.issue.ignore.multicriteria.s5.ruleKey=cpp:S995
 sonar.issue.ignore.multicriteria.s5.resourceKey=src/smpi/bindings/*.cpp
 
 # Exclude some files from the analysis:
-#  - our unit tests
 #  - the tests that we borrowed elsewhere (MPICH and MBI)
 #  - Flex-generated files
 #  - Collectives that we borrowed elsewhere (mpich, openMPI and other implems)
 #  - the NAS, that are included in our examples
 #  - The Catch2 library, that is included in our unit tests
 #  - The xxHash library, used by the MC
-sonar.exclusions=src/3rd-party/*,src/*_unit.c*,teshsuite/smpi/mpich3-test/**,teshsuite/smpi/MBI/**,**/*_dtd.c,**/*_dtd.h,**/*yy.c,src/xbt/automaton/parserPromela.tab.*,src/smpi/colls/**/*,examples/smpi/NAS/*,examples/smpi/gemm/gemm.c
+sonar.exclusions=src/3rd-party/*,teshsuite/smpi/mpich3-test/**,teshsuite/smpi/MBI/**,**/*_dtd.c,**/*_dtd.h,**/*yy.c,src/xbt/automaton/parserPromela.tab.*,src/smpi/colls/**/*,examples/smpi/NAS/*,examples/smpi/gemm/gemm.c
 
 # Exclude our examples from the duplication detection.
 # Examples are expected to be somehow repetitive