어느 가을날의 전환점

JAVA|자바 소스 코드 분석 툴(잠재적 위험도 분석 등) 본문

Development

JAVA|자바 소스 코드 분석 툴(잠재적 위험도 분석 등)

어느가을빛 2012. 3. 7. 13:34
klocwork

CheckStyle
- a development tool to help programmers write Java code that adheres to a coding standard

FindBugs™
- Find Bugs in Java Programs

PMD
- PMD scans Java source code and looks for potential problems like:
1) Possible bugs - empty try/catch/finally/switch statements
2) Dead code - unused local variables, parameters and private methods
3) Suboptimal code - wasteful String/StringBuffer usage
4) Overcomplicated expressions - unnecessary if statements, for loops that could be while loops
5) Duplicate code - copied/pasted code means copied/pasted bugs

Comments