X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a028e893d68df482b66d89e797c26ac0dd82c737..7816ac54a8a2ca5c1f7d14de3e613ab14d84462f:/sonar-project.properties diff --git a/sonar-project.properties b/sonar-project.properties index 8b097f4b98..1fd1fd23fd 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -4,7 +4,7 @@ sonar.organization=simgrid sonar.projectKey=simgrid_simgrid sonar.projectName=SimGrid -sonar.projectVersion=3.30.1 +sonar.projectVersion=3.31.1 sonar.links.homepage=https://simgrid.org sonar.links.issue=https://framagit.org/simgrid/simgrid/issues @@ -14,7 +14,7 @@ sonar.sources=src,examples,include,teshsuite # Disable some rules on some files -sonar.issue.ignore.multicriteria=j1,j2,j3,j4,j5,jni1,jni2,c1,c2a,c2b,c3,c4,c5a,c5b,c6a,c6b,c7,c8a,c8b,c9,c10a,c10b,c10c,cex1a,cex1b,cex2a,cex2b,cex3,cex4,f1,p1,s1,s2,s3,s4,s5 +sonar.issue.ignore.multicriteria=j1,j2,j3,j4,jni1,jni2,c1,c2a,c2b,c3,c4,c5a,c5b,c6a,c6b,c7,c8,c9,c10a,c10b,c10c,cex1a,cex1b,cex2a,cex2b,cex3,cex4,f1,p1,s1,s2,s3,s4,s5 # The Object.finalize() method should not be overridden # But we need to clean the native memory with JNI @@ -36,11 +36,6 @@ sonar.issue.ignore.multicriteria.j3.resourceKey=**/*.java sonar.issue.ignore.multicriteria.j4.ruleKey=java:S106 sonar.issue.ignore.multicriteria.j4.resourceKey=src/bindings/java/org/simgrid/NativeLib.java -# Deprecated code should be removed -# We do have a process to remove deprecated code -sonar.issue.ignore.multicriteria.j5.ruleKey=java:S1133 -sonar.issue.ignore.multicriteria.j5.resourceKey=**/*.java - # "reinterpret_cast" should not be used # But this is exactly intended to store a pointer into a long -- what we do here sonar.issue.ignore.multicriteria.jni1.ruleKey=cpp:S3630 @@ -96,10 +91,8 @@ sonar.issue.ignore.multicriteria.c7.resourceKey=**/*.h # Deprecated code should be removed # We do have a process to remove deprecated code -sonar.issue.ignore.multicriteria.c8a.ruleKey=c:S1133 -sonar.issue.ignore.multicriteria.c8a.resourceKey=**/* -sonar.issue.ignore.multicriteria.c8b.ruleKey=cpp:S1133 -sonar.issue.ignore.multicriteria.c8b.resourceKey=**/* +sonar.issue.ignore.multicriteria.c8.ruleKey=*:S1133 +sonar.issue.ignore.multicriteria.c8.resourceKey=**/* # Lambda return types should be implicit # I don't see the point in general, plus we mostly use them when forced, to disambiguate @@ -170,14 +163,14 @@ 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 ISP) +# - 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 # - MSG along with its examples and teshsuite -sonar.exclusions=src/include/catch.hpp,src/include/xxhash.hpp,src/*_unit.c*,teshsuite/smpi/mpich3-test/**,teshsuite/smpi/isp/**,**/*_dtd.c,**/*_dtd.h,**/*yy.c,src/xbt/automaton/parserPromela.tab.*,src/smpi/colls/**/*,examples/smpi/NAS/*,examples/smpi/gemm/gemm.c,src/msg/**,include/msg/**,examples/deprecated/**,teshsuite/msg/** +sonar.exclusions=src/include/catch.hpp,src/include/xxhash.hpp,src/*_unit.c*,teshsuite/smpi/mpich3-test/**,**/*_dtd.c,**/*_dtd.h,**/*yy.c,src/xbt/automaton/parserPromela.tab.*,src/smpi/colls/**/*,examples/smpi/NAS/*,examples/smpi/gemm/gemm.c,src/msg/**,include/msg/**,examples/deprecated/**,teshsuite/msg/** # Exclude our examples from the duplication detection. # Examples are expected to be somehow repetitive @@ -199,7 +192,7 @@ sonar.cfamily.gcov.reportsPath=Testing/CoverageInfo # - Python files used to generate either simcalls or deployment files # - Any java source code (it's deprecated now) # - MSG (deprecated too) -sonar.coverage.exclusions=teshsuite/smpi/isp/**,teshsuite/smpi/mpich3-test/**,examples/smpi/mc/**,**/*.xml,src/simix/simcalls.py,**/generate.py,**/*.java,src/bindings/java/**,src/msg/**,include/msg/**,examples/deprecated/**,teshsuite/msg/** +sonar.coverage.exclusions=teshsuite/smpi/mpich3-test/**,teshsuite/smpi/MBI/**,examples/smpi/mc/**,**/*.xml,**/generate.py,**/*.java,src/bindings/java/**,src/msg/**,include/msg/**,examples/deprecated/**,teshsuite/msg/** # Encoding of the source files sonar.sourceEncoding=UTF-8