Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Tue, 14 Feb 2017 13:08:58 +0000 (14:08 +0100)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Tue, 14 Feb 2017 13:08:58 +0000 (14:08 +0100)
sonar-project.properties

index 3e5b3d8..62bb83d 100644 (file)
@@ -11,8 +11,9 @@ sonar.links.scm=https://github.com/simgrid/simgrid.git
 # Comma-separated paths to directories with sources (required)
 sonar.sources=src,examples,include,teshsuite
 
+
 # Disable some rules on some files
-sonar.issue.ignore.multicriteria=j1,c1
+sonar.issue.ignore.multicriteria=j1,c1,c2
 
 # The Object.finalize() method should not be overriden -- we need to clean the native memory
 sonar.issue.ignore.multicriteria.j1.ruleKey=squid:ObjectFinalizeOverridenCheck
@@ -22,6 +23,12 @@ sonar.issue.ignore.multicriteria.j1.resourceKey=**/*.java
 sonar.issue.ignore.multicriteria.c1.ruleKey=cpp:S1767
 sonar.issue.ignore.multicriteria.c1.resourceKey=**/*.cpp
 
+# Preprocessor operators "#" and "##" should not be used
+# This poses portability issues, but we check our usage on a large panel of architectures on purpose
+sonar.issue.ignore.multicriteria.c2.ruleKey=cpp:PPStringifyAndPastingUsage
+sonar.issue.ignore.multicriteria.c2.resourceKey=**/*.cpp
+
+
 # Exclude some files from the analysis:
 #  - our unit tests 
 #  - the tests that we borrowed elsewhere (MPICH and ISP)