Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ScalFMM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
solverstack
ScalFMM
Commits
b928bfa4
Commit
b928bfa4
authored
May 09, 2019
by
ESTERIE Pierre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix src analysis for SonarQube
parent
fcd544d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Utils/scripts/analysis.sh
Utils/scripts/analysis.sh
+4
-4
No files found.
Utils/scripts/analysis.sh
View file @
b928bfa4
...
...
@@ -17,7 +17,7 @@ export SOURCES_TO_ANALYZE="include src Examples Tests UTests"
# run cppcheck analysis
# commented for now because too long
export
CPPCHECK_INCLUDES
=
"-IBuild/include -Iinclude
-IContribs
"
export
CPPCHECK_INCLUDES
=
"-IBuild/include -Iinclude"
export
SOURCES_TO_ANALYZE
=
"src Examples Tests UTests"
export
CPPCHECK_UNDEF
=
"-USCALFMM_USE_AVX -USCALFMM_USE_AVX2 -USCALFMM_USE_SSE -USCALFMM_USE_EZTRACE -USCALFMM_BLAS_NOCHANGE -USCALFMM_BLAS_UPCASE -U__AVXPE_INTEL_COMPILER -U__INTEL_COMPILER -U__MIC__ -U__SSEPE_INTEL_COMPILER -U__SSSE3__ -U__SSSE4_1__ -U_WIN32 -Uming -U_MSC_VER -U__IBMCPP__ -U__PGI -U__SUNPRO_CC -U__clang__ -U__APPLE__ -U__HP_aCC -U__HP_cc -U__ICC"
cppcheck
-v
-f
--language
=
c++
--std
=
c++14
--platform
=
unix64
--enable
=
all
--xml
--xml-version
=
2
--suppress
=
missingIncludeSystem
${
CPPCHECK_UNDEF
}
${
CPPCHECK_INCLUDES
}
${
SOURCES_TO_ANALYZE
}
2> scalfmm-cppcheck.xml
...
...
@@ -37,9 +37,9 @@ sonar.projectDescription=C++ library that implements a kernel independent Fast M
sonar.projectVersion=2.0
sonar.language=c++
sonar.sourceEncoding=UTF-8
sonar.sources=Examples,
S
rc, Tests, UTests
sonar.exclusions=
Src
/Kernels/FKernelConcepts.hpp, Tests/noDist/PerfTest/TestDriver.hpp
sonar.cxx.includeDirectories=
$(
echo
| gcc
-E
-Wp
,-v - 2>&1 |
grep
"^ "
|
tr
'\n'
','
)
Build/
Src,Src,Contribs
sonar.sources=Examples,
s
rc, Tests, UTests
sonar.exclusions=
include
/Kernels/FKernelConcepts.hpp, Tests/noDist/PerfTest/TestDriver.hpp
sonar.cxx.includeDirectories=
$(
echo
| gcc
-E
-Wp
,-v - 2>&1 |
grep
"^ "
|
tr
'\n'
','
)
Build/
include
sonar.cxx.compiler.charset=UTF-8
sonar.cxx.compiler.regex=^(.*):(
\\\d
+):
\\\d
+: warning: (.*)
\\\[
(.*)
\\\]
$
sonar.cxx.compiler.reportPath=scalfmm-build.log
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment