Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
typo
[simgrid.git] / sonar-project.properties
index 2ee090d..099ea05 100644 (file)
@@ -17,8 +17,8 @@ sonar.sources=src,examples,include,teshsuite
 #  - the tests that we borrowed elsewhere (MPICH and ISP)
 #  - Flex-generated files
 #  - Collectives that we borrowed elsewhere (mpich, openMPI and other implems)
-sonar.exclusions=src/*_unit.c*,teshsuite/smpi/mpich3-test/*,teshsuite/smpi/isp/*,**/*_dtd.c,src/smpi/colls/*
-
+#  - the NAS, that are included in our examples
+sonar.exclusions=src/*_unit.c*,teshsuite/smpi/mpich3-test/**,teshsuite/smpi/isp/**,**/*_dtd.c,src/smpi/colls/*,examples/smpi/NAS/*
 # Ignore files that are generated from Flex
 sonar.issue.ignore.allfile=flexGenerated
 sonar.issue.ignore.allfile.flexGenerated.fileRegexp="generated by flex"
@@ -37,11 +37,10 @@ sonar.cfamily.build-wrapper-output=bw-outputs
 # Encoding of the source files
 sonar.sourceEncoding=UTF-8
 
-sonar.cpp.std=gnu++11
-sonar.c.std=gnu11
+sonar.java.source=7
 
-# Disable the whole logging mechanism during SonarQube analysis
-sonar.cfamily.predefinedMacros=XBT_LOG_MAYDAY
+# Disable the whole logging mechanism during SonarQube analysis (our logging macro are crude, but should not harm Sonar)
+sonar.cfamily.predefinedMacros=#define XBT_LOG_MAYDAY
 
 # Talk to me (travis don't like it, it's too much)
 # sonar.verbose=true