6925 Commits

Author SHA1 Message Date
Andreas Dangel
89573b7dc3 pmd: use latest pmd-build plugin
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7652 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-25 08:09:47 +00:00
Andreas Dangel
cec831d8d9 pmd (build): add missing href to the menu items
We'll need this once we switch to maven3 for site generation

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7651 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-25 08:09:18 +00:00
Andreas Dangel
a27db9c932 pmd (build): fix xref link to rule source; thanks to Mason (masondj) for pointing this out.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7650 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-25 08:08:38 +00:00
Brian Remedios
3d53a0a4b6 Class name change from Configuration -> PMDConfiguration
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7649 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-13 02:37:55 +00:00
Brian Remedios
1838cab4f9 Refactor main CPD class: migration of command-line arg handling to separate CPDConfiguration class similar to how PMD does it. Will eventually formalize the parameters in the same way.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7648 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-13 02:02:35 +00:00
Torsten Kleiber
f2c95c6810 Release 11.1.2.4300
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7646 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-12 20:19:42 +00:00
Torsten Kleiber
cc88c397e3 Release 11.1.1.4300
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7644 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-12 19:59:15 +00:00
Torsten Kleiber
2e8a2625b9 Release 11.1.2.4300
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7643 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-12 19:57:28 +00:00
Brian Remedios
bd79c60d85 misc: rm redundant cast, StringBuffer->StringBuilder updates
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7642 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-12 16:54:13 +00:00
Brian Remedios
47413a2671 misc: rm redundant cast, rename method
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7641 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-12 16:34:01 +00:00
Torsten Kleiber
99906b8832 Release 10.1.3.4300
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7639 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-11 18:50:49 +00:00
Romain Pelisse
44a1618b6e Applied patch 3497021 from Remi Delmas - CPD now returns non zero status if duplication is found.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7638 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-06 08:42:11 +00:00
Romain Pelisse
6ea6ceab13 Add test case for bug 3496028 (False-)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7637 51baf565-9d33-0410-a72c-fc3788e3496d
2012-03-01 23:38:39 +00:00
Romain Pelisse
01cb7b943d Add some tests to reproduce reported bugs
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7636 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-28 09:40:10 +00:00
Romain Pelisse
3bd0358b76 Fixed bug 3175710: NPE in InsufficientStringBufferDeclaration
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7635 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-28 09:38:43 +00:00
Andreas Dangel
da4059509b pmd: upgrade the checkstyle plugin
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7634 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-26 15:42:07 +00:00
Andreas Dangel
4279747dcf pmd (site): moved release process documentation to site
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7633 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-26 15:41:45 +00:00
Brian Remedios
f9ab211b28 renamed violation class, some minor tweaks
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7632 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-24 19:47:26 +00:00
Brian Remedios
f818c4f72f Various cleanups & refactorings. I would suggest using the name of ParametricRuleViolation instead.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7631 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-24 19:10:33 +00:00
Brian Remedios
ae375aa8a1 rm deprecated command line hander & related test, updates to the new one
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7630 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-24 19:05:58 +00:00
Romain Pelisse
49b55eb199 Test case for bug 3372128 - can't reproduce
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7629 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-24 11:12:16 +00:00
Romain Pelisse
970771586c Fix 3470274: Using Label for lines in XMLRenderer.
Also did some code cleaning/refactor of the class.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7628 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-24 10:35:41 +00:00
Romain Pelisse
57b117beee Refactor RuleViolationFactory
In order to ease the integration of new language,
I've refactor a couple of Abstract class, that was
in fact cocncrete (ie no abstract methods) into
parametizable (if this is a word) classes. Idea
being that other languages can simply reuse the
class instead of having to create a class just
to make the abstract class concrete.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7627 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-24 10:35:10 +00:00
Romain Pelisse
ca9f7aa657 Whitespaces
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7626 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-24 10:34:14 +00:00
Romain Pelisse
3225b95ef6 Updating Changelog (remove ToDo's that are done)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7625 51baf565-9d33-0410-a72c-fc3788e3496d
2012-02-24 10:33:34 +00:00
Andreas Dangel
d54a66857c pmd: improved the release process documentation
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7624 51baf565-9d33-0410-a72c-fc3788e3496d
2012-01-31 20:22:35 +00:00
Andreas Dangel
598a293dae [maven-release-plugin] prepare release 5.0-alpha
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7620 51baf565-9d33-0410-a72c-fc3788e3496d
2012-01-31 18:45:12 +00:00
Andreas Dangel
311c0ec909 [maven-release-plugin] prepare branch 5.0-alpha
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7618 51baf565-9d33-0410-a72c-fc3788e3496d
2012-01-31 18:43:54 +00:00
Andreas Dangel
04769d7631 pmd: preparing release 5.0-alpha
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7617 51baf565-9d33-0410-a72c-fc3788e3496d
2012-01-31 18:00:22 +00:00
Andreas Dangel
d3ef31adca pmd: adding reports profile to have reports about pmd + checkstyle in jenkins
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7616 51baf565-9d33-0410-a72c-fc3788e3496d
2012-01-29 10:32:06 +00:00
Andreas Dangel
805b21e998 pmd (site): correct changes link
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7615 51baf565-9d33-0410-a72c-fc3788e3496d
2012-01-29 10:31:36 +00:00
Andreas Dangel
150297a6c5 pmd: update release process documentation using maven
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7614 51baf565-9d33-0410-a72c-fc3788e3496d
2012-01-29 10:31:00 +00:00
Andreas Dangel
bffcddaf75 pmd: added new rules for javascript
* EqualComparison
* GlobalVariable

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7613 51baf565-9d33-0410-a72c-fc3788e3496d
2012-01-29 09:51:47 +00:00
Brian Remedios
47509a3de5 + Javadoc
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7612 51baf565-9d33-0410-a72c-fc3788e3496d
2012-01-07 16:23:30 +00:00
Brian Remedios
c1aa8b007b Minor Javadoc & formatting cleanup, no functional changes.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7611 51baf565-9d33-0410-a72c-fc3788e3496d
2012-01-04 16:16:54 +00:00
Brian Remedios
8412fba680 Javadoc fixes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7610 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-27 19:56:08 +00:00
Brian Remedios
01295df863 Minor syntactic issue cleanup (imports, formatting, etc) as identified by other tools
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7609 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-27 17:06:28 +00:00
Brian Remedios
481e9a550b Minor syntactic issue cleanup (imports, formatting, etc) as identified by other tools
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7608 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-27 16:52:08 +00:00
Brian Remedios
6c7c4d6bc9 Various bugfixes as identified by other analysis tools
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7607 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-27 15:54:36 +00:00
Brian Remedios
adedb883db completed toString()
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7606 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-27 14:48:24 +00:00
Brian Remedios
887b9feb1a Various bugfixes as identified by other analysis tools
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7605 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-27 14:33:45 +00:00
Brian Remedios
0deb64ea49 Point to new page
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7604 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-23 07:46:17 +00:00
Brian Remedios
016046520d Improved project-specific rule property panel, moved descriptions into separate panel
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7603 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-23 07:32:19 +00:00
Brian Remedios
168ed54973 Example code & description cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7602 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-21 09:43:15 +00:00
Brian Remedios
a42391b252 Satisfied a feature request: http://sourceforge.net/tracker/?func=detail&aid=3292643&group_id=56262&atid=479924
When in a code editor hit the default binding key, F7, to trigger the code review.

Condensed the number of rule panels in the rule selection page, added hyperlink for the external info url to
the summary page. Disabled the PMD/CPD options for now in the File Filters page.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7601 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-21 08:00:52 +00:00
Brian Remedios
53e8f7efca minor tweaks
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7600 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-20 06:07:29 +00:00
Brian Remedios
0d46665c86 Completed the automatic 'check on file save' function that initiates a code review whenever changes are saved to a code file. Enable it on the main PMD preference page as it is off by default.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7599 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-20 05:57:33 +00:00
Brian Remedios
8423633469 minor refactoring, no functional changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7598 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-19 23:12:08 +00:00
Brian Remedios
400612d0c7 File include/exclude filters now working
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7597 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-19 21:38:24 +00:00
Brian Remedios
5f739ad7a8 cleanup text & examples
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7596 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-19 14:49:29 +00:00