7552 Commits

Author SHA1 Message Date
Andreas Dangel
8a9c44148a #1245 False Positive for Law of Demeter 2014-08-22 22:38:25 +02:00
Andreas Dangel
3e182c9b03 Verify #1246 False positive from MissingBreakInSwitch 2014-08-22 22:17:10 +02:00
Andreas Dangel
67cdaf9edd Fix unit test 2014-08-18 20:47:58 +02:00
Andreas Dangel
2ffec3d953 Update changelog 2014-08-18 20:40:28 +02:00
Andreas Dangel
15571a15db Refactor cyclomatic complexity tests to be standard rule tests 2014-08-17 19:10:12 +02:00
Andreas Dangel
fddf301589 Use PMDTestRunner for almost all rule tests 2014-08-16 20:54:37 +02:00
Andreas Dangel
7790c83fb1 #1241 False+ AvoidProtectedMethodInFinalClassNotExtending 2014-08-15 12:37:02 +02:00
Andreas Dangel
623ac14c51 #1243 Useless Parentheses False Positive 2014-08-15 12:27:08 +02:00
Andreas Dangel
8fcc45daf0 #1244 FieldDeclarationsShouldBeAtStartOfClass and anonymous classes 2014-08-15 12:09:32 +02:00
Andreas Dangel
2d6560c0f8 #1239 StackOverflowError in AbstractTokenizer.parseString running CPD on >1MB JS file 2014-08-14 22:50:34 +02:00
Andreas Dangel
643f85a5a2 #1235 scope dependencies in POM file 2014-08-14 21:58:31 +02:00
Andreas Dangel
9e3a672636 Verified #1156 False failure with "Avoid unused private methods" 2014-08-14 21:43:01 +02:00
Andreas Dangel
c310c93c02 #1187 double variable with AvoidDecimalLiteralsInBigDecimalConstructor 2014-08-14 20:24:07 +02:00
Andreas Dangel
6c0eed7109 Fix NPE in ConstructorCallsOverridable and XPath error in AvoidLiteralsInIfCondition 2014-08-13 21:31:09 +02:00
Andreas Dangel
1025c09bf5 #1231 No Error Message on Missing Rule 2014-08-13 20:01:37 +02:00
marob
635fc40e6f Add NoUnsanitizedJSPExpression rule 2014-08-13 10:50:12 +02:00
Andreas Dangel
8a34f2c8d1 #1231 No Error Message on Missing Rule - add error message if excluded rule cannot be found 2014-08-12 20:02:34 +02:00
Andreas Dangel
f6415ccc80 #1232 Make ShortClassName configurable 2014-08-11 20:04:01 +02:00
Andreas Dangel
f5783eec6d #1234 Unused private methods still giving false positives in 5.1.3 snapshot 2014-08-10 18:59:46 +02:00
Andreas Dangel
9b73613ff4 Verify #1199 PMD CheckResultSet gives false positive in a do/while loop 2014-08-09 20:10:01 +02:00
Andreas Dangel
c1f141f694 Upgrade maven plugins 2014-08-09 19:52:46 +02:00
Andreas Dangel
d6b6e6a4a0 #1230 UseCollectionIsEmpty gets false positives 2014-08-09 18:05:40 +02:00
Andreas Dangel
cb76795cb9 Improve test framework:
* PMDTestRunner reports all tests, that have been executed. This will
  explode the reported number of tests that are run
* It allows to selectively run single test cases (e.g. via eclipse)
* Used for now in DesignRulesTest
* Updated junit to 4.11
2014-08-09 16:04:03 +02:00
Andreas Dangel
9e35243b16 #1228 actually use the class loader for the symbol facade
and fix type resolution in the current package
2014-08-08 22:08:24 +02:00
Andreas Dangel
7a7ba2b23e #1228 UnusedPrivateMethod returns false positives - more cases 2014-08-08 21:13:02 +02:00
Andreas Dangel
1540440632 #1228 UnusedPrivateMethod returns false positives (7) - support allocation expressions 2014-08-08 19:37:23 +02:00
Andreas Dangel
6ee75a9e6d #1228 UnusedPrivateMethod returns false positives (6)
With auto-boxing for primitive types
2014-08-07 21:21:05 +02:00
Andreas Dangel
5428885ae4 #1233 UnusedPrivateMethod: False positive : method called on returned object. 2014-08-05 19:47:58 +02:00
Andreas Dangel
47a24d5625 Update maven-pmd-plugin 2014-08-03 17:36:36 +02:00
Andreas Dangel
e28c7de3e5 #1228 UnusedPrivateMethod returns false positives (5a+b)
This adds the auxiliar classpath to the TypeSet type resolver that
is used by the symbol facade.
2014-08-01 19:35:30 +02:00
Andreas Dangel
e6ce96cc10 #1228 UnusedPrivateMethod returns false positives (4) 2014-07-31 21:19:55 +02:00
Andreas Dangel
4cef35c7f6 #1228 UnusedPrivateMethod returns false positives 2014-07-28 19:53:59 +02:00
Andreas Dangel
c730c15d13 Verify #1228 UnusedPrivateMethod returns false positives 2014-07-26 10:34:47 +02:00
Andreas Dangel
6d7d0bffd3 Checkstyle, Javadoc, Whitespace 2014-07-26 10:33:48 +02:00
Andreas Dangel
ce1dca1c2c Update pmd plugin version to 3.1 2014-07-25 18:50:41 +02:00
Andreas Dangel
a7f8c102ba Checkstyle, Javadoc, Whitespace 2014-07-25 18:41:23 +02:00
Andreas Dangel
d5eafec027 Checkstyle, Javadoc, whitespace 2014-07-24 17:52:43 +02:00
Andreas Dangel
fe325afb7b Update changelog 2014-07-20 12:24:43 +02:00
Andreas Dangel
805d4d0f92 [maven-release-plugin] prepare for next development iteration 2014-07-20 10:41:26 +02:00
Andreas Dangel
cfc3617a4f [maven-release-plugin] prepare release pmd_releases/5.1.2 pmd_releases/5.1.2 2014-07-20 10:41:25 +02:00
Andreas Dangel
f6534c20ad pmd: Prepare pmd release 5.1.2 2014-07-20 10:11:40 +02:00
Andreas Dangel
de1a8049ff Update release process documentation 2014-07-20 10:08:47 +02:00
Andreas Dangel
0e7ed771a6 Fix documentation about "Violation Suppress XPath"
Thanks to Scott Santucci.
2014-07-20 09:56:15 +02:00
Andreas Dangel
da9c987ccd Verify #1225 UselessParentheses rule executed on empty ruleset 2014-07-20 09:40:20 +02:00
Andreas Dangel
a0f3cb1027 #1226 False Positive: UnusedPrivateMethod overloading with varargs 2014-07-20 09:21:22 +02:00
Andreas Dangel
52ed5e3b8d #1198 ConfusingTernary does not ignore else if blocks even when property is set 2014-07-19 18:41:38 +02:00
Andreas Dangel
30dc6dfc6b #1200 setRuleSets method javadoc mistype commands instead commas 2014-07-19 18:04:03 +02:00
Andreas Dangel
af0cbddc39 #1201 Error "Can't find resource null" when ruleset contains spaces after comma 2014-07-19 17:59:48 +02:00
Andreas Dangel
ef236facb8 #1202 StackOverflowError in RuleSetReferenceId 2014-07-19 17:38:18 +02:00
Andreas Dangel
383a08847b #1227 GuardLogStatementJavaUtil doesn't catch log(Level.FINE, "msg" + " msg") calls 2014-07-18 20:29:48 +02:00