Cppcheck
| 원저자 | Daniel Marjamäki |
|---|---|
| 발표일 | 2007년 5월 8일 |
| 안정화 버전 | 2.21.0[1] |
| 저장소 | |
| 프로그래밍 언어 | C++ |
| 운영 체제 | 크로스 플랫폼 |
| 언어 | 영어, 네덜란드어, 핀란드어, 스웨덴어, 독일어, 러시아어, 일본어, 세르비아어, 스페인어, 프랑스어, 이탈리아어, 한국어, 중국어 |
| 종류 | 정적 프로그램 분석 |
| 라이선스 | GNU 일반 공중 사용 허가서 |
| 웹사이트 | cppcheck |
Cppcheck는 C, C++ 프로그래밍 언어용 정적 코드 분석 도구이다. 비표준 코드를 검사할 수 있는 다목적 도구이다.[2] 제작자이자 선임 개발자는 Daniel Marjamäki이다.
Cppcheck는 GNU 일반 공중 사용 허가서로 배포되는 자유 소프트웨어이다.
기능
Cppcheck는 컴파일러 자체에서 다루지 않을 수 있는 다양한 정적 검사를 지원한다. 해당 검사들은 정적 분석 검사들이며 소스 코드 레벨에서 수행이 가능하다. 이 프로그램은 휴리스틱 이론이 아닌 엄격한 정적 분석 검사를 지향한다.
지원되는 검사들 중 일부는 다음을 포함한다:
- 자동 변수 검사
- 배열 오버런(overrun) 경계 검사
- 클래스 검사 (예: 미사용 함수, 변수 초기화, 메모리 중복)
- 오픈 그룹에 의거한 구식(deprecated) 처리 또는 대체된 함수의 사용[3]
- 예외 안전 검사(예: 메모리 할당 사용 및 소멸자 검사)
- 메모리 누수 (예: 할당 해제 없이 스코프 소실)
- 자원 누수 (예: 파일 핸들을 닫는 것을 잊음)
- 유효하지 않은 표준 템플릿 라이브러리 함수 및 관용구 사용
- 기타 스타일 및 성능 오류
플러그인
- 젯브레인즈[5]
- Code::Blocks - 연동.
- 코드라이트 - 연동.
- 이클립스[6]
- 이맥스[7]
- Gedit[8]
- 허드슨[9]
- Jenkins[10]
- 케이트[11]
- KDevelop[12]
- Qt 크리에이터[13]
- 서브라임 텍스트[14]
- 마이크로소프트 비주얼 스튜디오[15][16][17]
- Yasca[18]
각주
- ↑ “Release 2.21.0”. 2026년 6월 4일. 2026년 6월 5일에 확인함.
- ↑ “A Survey of C and C++ Software Tools for Computational Science” (PDF). 《Science and Technologies Facility Council》. Chilbolton, Daresbury, and Rutherford Appleton Laboratories. December 2009. 14쪽. 2012년 3월 12일에 원본 문서 (PDF)에서 보존된 문서. 2010년 9월 14일에 확인함.
- ↑ http://www.opengroup.org/onlinepubs/9699919799/xrat/V4_xsh_chap03.html
- ↑ “SourceForge.net: cppcheck”. 《sourceforge.net》. 2012년 7월 18일에 원본 문서에서 보존된 문서.
- ↑ “cppcheck plugin for CLion”. 《plugins.jetbrains.com》.
- ↑ “Cppcheclipse”. 《github.com》.
- ↑ “Flycheck”. 《github.com》.
- ↑ “gedit Cppcheck plugin”. 《github.com》. 2012년 12월 17일에 원본 문서에서 보존된 문서.
- ↑ “Cppcheck Plugin”. 《hudson-ci.org》. 2017년 10월 26일에 원본 문서에서 보존된 문서. 2010년 9월 15일에 확인함.
- ↑ “Cppcheck Plugin”. 《jenkins-ci.org》.
- ↑ Cullmann, Christoph (2013년 2월 2일). “Kate Project Plugin News – Code Analysis”. 《Kate | Get an Edge in Editing》. 2016년 12월 14일에 확인함.
- ↑ Funk, Kevin (2016년 12월 6일). “KDevelop's Cppcheck plugin merged into kdevelop.git, will be released with 5.1”. 2016년 12월 14일에 확인함.
- ↑ “Qt Creator Plug-in Gallery”. 《Qt Wiki》.
- ↑ “Sublimelinter plugin”. 《github.com》.
- ↑ “Cppcheck add-in”. 《Visual Studio Marketplace》.
- ↑ VioletGiraffe. “Homepage cppcheck-vs-addin”. 2014년 3월 3일에 확인함.
- ↑ Srix. “Simple open source static analysis tool for Visual Studio”. 2015년 2월 10일에 원본 문서에서 보존된 문서. 2012년 8월 27일에 확인함.
- ↑ Scovetta, Michael. “Yasca”.
외부 링크
- (영어) Cppcheck - SourceForge.net
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.