2 ms·
Since it is not on the front page and probably everybody wants to know. Here is what it claims to do. "PMD scans source code in Java and other languages and lo
by bastijn 10y ago
Since it is not on the front page and probably everybody wants to know. Here is what it claims to do.
"PMD scans source code in Java and other languages and looks for potential problems like:
- Possible bugs - empty try/catch/finally/switch statements
- Dead code - unused local variables, parameters and private methods
- Suboptimal code - wasteful String/StringBuffer usage
Overcomplicated expressions - unnecessary if statements, for loops that could be while loops
- Duplicate code - copied/pasted code means copied/pasted bugs"
[0] http://pmd.sourceforge.net/snapshot/ http://pmd.sourceforge.net/snapshot/
- tcopeland 10y agoAt one point Sven Jacob added some data flow analysis. It was interesting stuff; I feel like we could have taken that a lot further. But anyhow, the combination of PMD and FindBugs can find quite a few bugs that would be hard to track down otherwise.