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
few smells less in MC
[simgrid.git]
/
sonar-project.properties
diff --git
a/sonar-project.properties
b/sonar-project.properties
index
6eccae3
..
4e4721f
100644
(file)
--- a/
sonar-project.properties
+++ b/
sonar-project.properties
@@
-3,7
+3,7
@@
sonar.projectKey=simgrid
sonar.projectName=SimGrid
sonar.projectKey=simgrid
sonar.projectName=SimGrid
-sonar.projectVersion=3.1
5
+sonar.projectVersion=3.1
6
sonar.links.homepage=http://simgrid.org
sonar.links.issue=https://github.com/simgrid/simgrid/issues
sonar.links.homepage=http://simgrid.org
sonar.links.issue=https://github.com/simgrid/simgrid/issues
@@
-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)
@@
-66,7
+73,7
@@
sonar.exclusions=src/*_unit.c*,teshsuite/smpi/mpich3-test/**,teshsuite/smpi/isp/
# Exclude our examples from the duplication detection.
# Examples are expected to be somehow repetitive
# Exclude our examples from the duplication detection.
# Examples are expected to be somehow repetitive
-sonar.cpd.exclusions=examples/**
+sonar.cpd.exclusions=examples/**
,teshsuite/**
# The build-wrapper output dir
sonar.cfamily.build-wrapper-output=bw-outputs
# The build-wrapper output dir
sonar.cfamily.build-wrapper-output=bw-outputs