A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
no more content_type
[simgrid.git]
/
sonar-project.properties
diff --git
a/sonar-project.properties
b/sonar-project.properties
index
6eccae3
..
80b897e
100644
(file)
--- a/
sonar-project.properties
+++ b/
sonar-project.properties
@@
-13,7
+13,7
@@
sonar.sources=src,examples,include,teshsuite
# Disable some rules on some files
# Disable some rules on some files
-sonar.issue.ignore.multicriteria=j1,jni1,jni2,c1,c2a,c2b,c3,c4a,c4b
+sonar.issue.ignore.multicriteria=j1,jni1,jni2,c1,c2a,c2b,c3,c4a,c4b
,f1
# The Object.finalize() method should not be overriden
# But we need to clean the native memory with JNI
# The Object.finalize() method should not be overriden
# But we need to clean the native memory with JNI
@@
-30,6
+30,7
@@
sonar.issue.ignore.multicriteria.jni1.resourceKey=src/bindings/java/*.cpp
sonar.issue.ignore.multicriteria.jni2.ruleKey=cpp:S1172
sonar.issue.ignore.multicriteria.jni2.resourceKey=src/bindings/java/*.cpp
sonar.issue.ignore.multicriteria.jni2.ruleKey=cpp:S1172
sonar.issue.ignore.multicriteria.jni2.resourceKey=src/bindings/java/*.cpp
+
# Pointers should not be cast to integral types
# But we need that for jMSG, smpi and other places
sonar.issue.ignore.multicriteria.c1.ruleKey=cpp:S1767
# Pointers should not be cast to integral types
# But we need that for jMSG, smpi and other places
sonar.issue.ignore.multicriteria.c1.ruleKey=cpp:S1767
@@
-55,6
+56,12
@@
sonar.issue.ignore.multicriteria.c4b.ruleKey=cpp:GlobalNamespaceMembers
sonar.issue.ignore.multicriteria.c4b.resourceKey=examples/**/*.hpp
sonar.issue.ignore.multicriteria.c4b.resourceKey=examples/**/*.hpp
+# "reinterpret_cast" should not be used
+# But we need this to interface C and Fortran
+sonar.issue.ignore.multicriteria.f1.ruleKey=cpp:S3630
+sonar.issue.ignore.multicriteria.f1.resourceKey=src/smpi/smpi_f77.cpp
+
+
# Exclude some files from the analysis:
# - our unit tests
# - the tests that we borrowed elsewhere (MPICH and ISP)
# Exclude some files from the analysis:
# - our unit tests
# - the tests that we borrowed elsewhere (MPICH and ISP)