https://github.com/ojdkbuild/ojdkbuild
-
Jenkins_Py: https://github.com/tinygrad/tinygrad
-
Jenkins_PyJS: https://github.com/ladjs/superagent
- Java: PMD
- C/C++: CPPCheck
- Python: Pylint
- Lizard (Python 패키지)
- CPD (PMD의 부속 도구 / 언어 안가림) . 기준: Token/Chunk 100
- CLOC
- Cobertura 플러그인 설치
pip install unittest-xml-reporting
del testReport /s /f /q
python -m xmlrunner discover -o testReport
testReport/TEST-*.xml
- 사전 조건: Python 설치
pip install lizard
lizard.exe -C 10 --csv > lizard_result.csv
lizard -C 10 -L 80 --xml > lizard.xml
CppNCSS 플러그인 이용
100 Token 이상, C++ 을 대상으로 분석, 엑셀에서 확인하기 위해 csv로 출력해서 저장
cpd.bat --minimum-tokens 100 --files . --language py --format csv > cpd_result.csv
cpd --minimum-tokens 100 --files . --language py --format xml > cpd.xml
- Warning Next Generation 플러그인 이용
- 내부에서 CPD 지정
"c:\Program Files\Cppcheck\cppcheck.exe" --enable=all --inconclusive --xml --xml-version=2 src 2> cppcheck.xml