forked from pfqgauxfb/code-analysis
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
474 B
22 lines
474 B
#!/bin/bash
|
|
|
|
./generate_coverage_report
|
|
|
|
rm -rf devinfo
|
|
mkdir devinfo
|
|
|
|
mv coverage_report devinfo/
|
|
|
|
doxygen 2> devinfo/doxygen-errors.txt
|
|
mv doxyoutput/html devinfo/doxyoutput
|
|
|
|
cd addons || exit 1
|
|
doxygen cppcheckdata.doxyfile
|
|
mv html ../devinfo/cppcheckdata
|
|
cd ..
|
|
|
|
# Detect duplicate code..
|
|
~/pmd-4.2.6/bin/cpd.sh lib/ > devinfo/cpd.txt
|
|
#java -jar ~/simian-2.4.0/bin/simian-2.4.0.jar -language=c++ -reportDuplicateText -threshold=10 lib/*.cpp lib/*.h > devinfo/simian.txt
|
|
|