Commit Graph
7016 Commits
Author SHA1 Message Date
Andreas Dangel 29b294e2b1 pmd: fix #1086 Unsupported Element and Attribute in Ant Task Example 2013-04-22 20:23:13 +02:00
Andreas Dangel 144a4e152d pmd: fix #254 False+ : UnusedImport with Javadoc @throws 2013-04-15 21:33:49 +02:00
Andreas Dangel 60aa0b1778 pmd: correct documentation for pmd's ant task to select the language
and adding more unit tests.
2013-04-15 21:00:14 +02:00
Andreas Dangel 37a4144bc6 Updated website with new project description. Added "Fork me on github" ribbon. 2013-04-14 18:31:41 +02:00
Andreas Dangel 030eb40e01 pmd: fix #1080 net.sourceforge.pmd.cpd.CPDTest test failing
The symlinks are simply removed now from the source code and
created by the test, when needed.
The test runs only under unix systems, not under windows.
2013-04-14 17:26:50 +02:00
Andreas Dangel 4be223bde4 pmd: adding more entries to gitignore and to exclude while creating the source zip file. 2013-04-14 17:01:56 +02:00
Andreas Dangel bd5ec60a9f pmd: fix #1082 CPD performance issue on larger projects 2013-04-14 13:33:00 +02:00
Andreas Dangel cfa21c106c pmd: fix #1081 Regression: CPD skipping all files when using relative paths 2013-04-12 23:02:40 +02:00
Andreas Dangel 0d9d09b9dd pmd: improve release documentation 2013-04-05 20:45:41 +02:00
Andreas Dangel 159d9523db pmd: correct the command line examples 2013-04-05 19:19:30 +02:00
Andreas Dangel 503b41e40f pmd: prepare pmd release 5.0.3 2013-04-05 18:48:02 +02:00
Andreas Dangel 0dc8d20800 pmd: use the released pmd-build plugin 0.8 2013-04-05 18:26:17 +02:00
Andreas Dangel f9484aa2d2 [maven-release-plugin] prepare for next development iteration 2013-04-05 18:17:20 +02:00
Andreas Dangel 0631ef98fd [maven-release-plugin] prepare release pmd-build/0.8 pmd-build/0.8 2013-04-05 18:17:20 +02:00
Andreas Dangel 524fd6fe43 pmd: fix NPE in LooseCouplingRule 2013-04-05 17:36:12 +02:00
Andreas Dangel 075f0181d6 pmd: fix #1078 Package statement introduces false positive UnnecessaryFullyQualifiedName violation 2013-04-05 17:11:30 +02:00
Andreas Dangel 51aca91330 pmd-eclipse: Fix compile errors after updating to latest PMD 5.1.0-SNAPSHOT. 2013-04-01 10:51:56 +02:00
Andreas Dangel 02dbbe2673 pmd-eclipse: new PMD snapshot jar 2013-03-31 18:51:18 +02:00
Andreas Dangel c91981ec65 pmd-eclipse - eclipse project configuration 2013-03-31 15:08:47 +02:00
Andreas Dangel 039d65fcc2 Merge branch 'master' of https://github.com/twh270/pmd 2013-03-31 14:24:58 +02:00
Andreas Dangel 2ab7b9e698 pmd-eclipse: update version numbers 2013-03-31 14:21:28 +02:00
Andreas Dangel 6fb192e584 Merge branch 'master' of https://github.com/hooperbloob/pmd into hooperbloob-master 2013-03-31 09:48:34 +02:00
Andreas Dangel 56339a6c58 Merge pull request #16 from acanda/ASTFormalParameterVariableName 2013-03-30 19:09:13 +01:00
Andreas Dangel 5f70b65afa Merge pull request #17 from acanda/IterableReportTree 2013-03-30 18:46:18 +01:00
Andreas Dangel e1c327d76f pmd: fix version numbers for new logging rules. 2013-03-30 18:33:31 +01:00
Andreas Dangel 57e331f90e pmd: add tests for CommentRequiredRule. 2013-03-30 18:33:12 +01:00
Andreas Dangel 29c178037a Merge pull request #14 from snajberk/master 2013-03-30 17:16:10 +01:00
Andreas Dangel 1907c6d9e8 pmd: fix #1077 Missing JavaDocs for Xref-Test Files 2013-03-30 15:44:44 +01:00
Andreas Dangel 7c440fd42e pmd: verify #937 OptimizableToArrayCall does not catch multilevel method chains 2013-03-30 15:25:03 +01:00
Andreas Dangel f0d8759b79 pmd: fix #938 False positive on LooseCoupling for overriding methods 2013-03-30 15:04:47 +01:00
Andreas Dangel 5d1d82919c pmd: verify #939 Jsp parser fails on $ 2013-03-30 14:27:32 +01:00
Andreas Dangel ca10969400 pmd: fix #940 False positive on UnsynchronizedStaticDateFormatter 2013-03-30 14:10:11 +01:00
Andreas Dangel 9b7562cd23 pmd: fix #942 CheckResultSet False Positive
* replacing the xpath rule with a java based rule implementation
2013-03-30 13:58:12 +01:00
Andreas Dangel be4c1adce6 pmd: fix #943 PreserveStackTrace false positive if a StringBuffer exists 2013-03-30 11:50:57 +01:00
Andreas Dangel 89e005fe49 pmd: fix #945 PMD generates RuleSets it cannot read. 2013-03-30 11:50:45 +01:00
Andreas Dangel b034dfb2d8 pmd: fix #958 Intermittent NullPointerException while loading XPath node attributes
* synchronizing the method cache
 * adding additional null check
2013-03-30 09:25:04 +01:00
Andreas Dangel 0e44680981 formatting, white spaces 2013-03-30 09:06:18 +01:00
Andreas Dangel c345f82968 pmd: verify #959 StringToString False Positive 2013-03-30 08:59:12 +01:00
Philip Graf 41705f17da Make Report implement Iterable<RuleViolation>
With this change we can easily iterate over a Report using the
for-each loop of Java 5 instead of using Report.iterator().
Also the @Override annotation has been added to Report.iterator() and
ReportTree.iterator() as PMD switched to Java 6.
2013-03-30 01:28:31 +01:00
Andreas Dangel 90d901c4bf pmd: verify #998 False positive ClassCastExceptionWithToArray with generics 2013-03-29 16:02:05 +01:00
Thomas Wheeler 61decdc6cb Merge remote-tracking branch 'pmd-branch/master' into merge-pmd-branch 2013-03-27 10:11:58 -05:00
Andreas Dangel abf8f3297b pmd: update changelog, verify #1076 2013-03-24 20:33:54 +01:00
Andreas Dangel 470c6b9c38 Merge branch 'ViolationNodeEqualsNode' of https://github.com/acanda/pmd into acanda-ViolationNodeEqualsNode 2013-03-24 20:09:46 +01:00
Andreas Dangel d9aefc7949 pmd: update changelog 2013-03-24 20:05:56 +01:00
Philip Graf f5a5b6cd48 pmd: fix #1076 Report.treeIterator() does not return all violations
The cause of the bug was the implementation of
ViolationNode.equalsNode(otherNode) which returned true when two
different violations start on the same line.

Note: this change also adds a maven dependency on Mockito 1.9.5 (scope:
test). Mockito helps creating mock objects and makes the test more
readable.
2013-03-24 17:53:40 +01:00
Philip Graf 46a57aa3ab Make ReportTree implement Iterable<RuleViolation>
With this change we can easily iterate over a ReportTree using the
for-each loop of Java 5 instead of using ReportTree.iterator().
2013-03-24 11:48:39 +01:00
Philip Graf 8dc8607102 Set variableName for a java violation with an ASTFormalParameter node
Extends JavaRuleViolation to also set the member "variableName" when the
provided node is of type ASTFormalParameter.
2013-03-24 11:48:27 +01:00
Pelisse Romain 36c8a31cd2 Merge pull request #14 from codecop/NPEx-JSP-Master
Nice catch ! Thanks for the fix !!!
2013-03-23 07:52:04 -07:00
Peter Kofler 59e7c2dd0c fix Nullpointer Exception when using -l jsp 2013-03-23 15:42:02 +01:00
Andreas Dangel d24a2651cb pmd: fix #1027 PMD Ant: java.lang.ClassCastException 2013-03-17 11:59:00 +01:00