aboutsummaryrefslogtreecommitdiff
path: root/devel/pmd/pkg-descr
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pmd/pkg-descr')
-rw-r--r--devel/pmd/pkg-descr10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/pmd/pkg-descr b/devel/pmd/pkg-descr
new file mode 100644
index 000000000000..2838dd145b4d
--- /dev/null
+++ b/devel/pmd/pkg-descr
@@ -0,0 +1,10 @@
+PMD scans Java source code 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
+
+WWW: http://pmd.sourceforge.net/