Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
start to untangle the MSG actor creation mess
[simgrid.git] / sonar-project.properties
1 # This file is used to scan the project for issues automatically 
2 # Browse the result here: https://nemo.sonarqube.org/overview?id=simgrid
3
4 sonar.projectKey=simgrid
5 sonar.projectName=SimGrid
6 sonar.projectVersion=3.15
7
8 sonar.links.homepage=http://simgrid.org
9 sonar.links.issue=https://github.com/simgrid/simgrid/issues
10 sonar.links.scm=https://github.com/simgrid/simgrid.git
11 # Comma-separated paths to directories with sources (required)
12 sonar.sources=src,examples,include,teshsuite
13
14
15 # Disable some rules on some files
16 sonar.issue.ignore.multicriteria=j1,c1,c2,c3
17
18 # The Object.finalize() method should not be overriden
19 # But we need to clean the native memory with JNI
20 sonar.issue.ignore.multicriteria.j1.ruleKey=squid:ObjectFinalizeOverridenCheck
21 sonar.issue.ignore.multicriteria.j1.resourceKey=**/*.java
22
23 # Pointers should not be cast to integral types
24 # But we need that for jMSG
25 sonar.issue.ignore.multicriteria.c1.ruleKey=cpp:S1767
26 sonar.issue.ignore.multicriteria.c1.resourceKey=**/*.cpp
27
28 # Preprocessor operators "#" and "##" should not be used
29 # This poses portability issues, but we check our usage on a large panel of architectures on purpose
30 sonar.issue.ignore.multicriteria.c2.ruleKey=cpp:PPStringifyAndPastingUsage
31 sonar.issue.ignore.multicriteria.c2.resourceKey=**/*.cpp
32
33 # Macro names should comply with a naming convention
34 # But the macros in this file are named after the MPI standard
35 sonar.issue.ignore.multicriteria.c3.ruleKey=c:PPMacroName
36 sonar.issue.ignore.multicriteria.c3.resourceKey=include/smpi/smpi_extended_traces.h
37
38 # Exclude some files from the analysis:
39 #  - our unit tests 
40 #  - the tests that we borrowed elsewhere (MPICH and ISP)
41 #  - Flex-generated files
42 #  - Collectives that we borrowed elsewhere (mpich, openMPI and other implems)
43 #  - the NAS, that are included in our examples
44 sonar.exclusions=src/*_unit.c*,teshsuite/smpi/mpich3-test/**,teshsuite/smpi/isp/**,**/*_dtd.c,**/*_dtd.h,**/*yy.c,src/smpi/colls/*,examples/smpi/NAS/*
45
46 # Ignore some files based on regex on their content (not working)
47 #sonar.issue.ignore.allfile=flexGenerated,flexMLGenerated
48 #  - The one that are generated from Flex
49 #sonar.issue.ignore.allfile.flexGenerated.fileRegexp="generated by flex"
50 #  - The one that are generated from FlexML (the header files are directly generated, not going though Flex)
51 sonar.issue.ignore.allfile.flexMLGenerated.fileRegexp="generated with the FleXML XML processor generator"
52
53 # Ignore the files that SMPI scavenged here and there (not working)
54 #sonar.issue.ignore.allfile=mpiColls
55 #sonar.issue.ignore.allfile.flexGenerated.mpiColls="Ahmad Faraj"
56 #sonar.issue.ignore.allfile=mpivapich
57 #sonar.issue.ignore.allfile.flexGenerated.mpivapich="This file is part of the MVAPICH2 software package"
58 #sonar.issue.ignore.allfile=mpiOmpi
59 #sonar.issue.ignore.allfile.flexGenerated.mpiOmpi="University of Tennessee"
60
61 # The build-wrapper output dir
62 sonar.cfamily.build-wrapper-output=bw-outputs
63
64 # Encoding of the source files
65 sonar.sourceEncoding=UTF-8
66
67 sonar.java.source=7
68
69 # Talk to me (travis don't like it, it's too much)
70 # sonar.verbose=true