Philippe Herlin
d810ba92ab
Fix the switch perspective NPE
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4404 51baf565-9d33-0410-a72c-fc3788e3496d
2006-06-05 21:28:16 +00:00
Radim Kubacki
03104b38ec
updating to pmd-3.7
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4402 51baf565-9d33-0410-a72c-fc3788e3496d
2006-06-03 15:00:52 +00:00
Tom Copeland
bef34e4f88
Fixed bug 1498960 - DontImportJavaLang no longer reports static imports of java.lang members.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4401 51baf565-9d33-0410-a72c-fc3788e3496d
2006-06-01 22:39:54 +00:00
Philippe Herlin
fe08efab59
Upgrade to PMD v1.7
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4400 51baf565-9d33-0410-a72c-fc3788e3496d
2006-06-01 22:17:34 +00:00
Tom Copeland
6f6843e880
Fixed bug 1498910 - AssignmentInOperand no longer has a typo in the message.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4399 51baf565-9d33-0410-a72c-fc3788e3496d
2006-06-01 21:50:39 +00:00
Tom Copeland
1347e37d92
Added some new priority filtering XSLT from David Corley. This should at the very least be handy as example code, and maybe folks will find this directly useful.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4398 51baf565-9d33-0410-a72c-fc3788e3496d
2006-06-01 13:26:51 +00:00
Tom Copeland
14b55c377a
post rls
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4397 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-31 13:44:52 +00:00
Tom Copeland
2b03551dc4
Added munger for rulesets xmlns thing
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4395 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-31 13:09:31 +00:00
Tom Copeland
ce60120314
Link to J2EE ruleset
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4394 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-26 13:18:06 +00:00
Tom Copeland
20caf5e82f
Better example
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4393 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-26 13:17:53 +00:00
Tom Copeland
b8ce0e13db
rls preps
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4392 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-26 12:37:59 +00:00
Tom Copeland
8b65c18a97
Wording tweak thx to Brian R
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4391 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-26 11:57:12 +00:00
Tom Copeland
140a03337a
Fixed bug 1423429 - ImmutableField no longer reports false positives on variables which can be set via an anonymous inner class that is created in the constructor.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4390 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-25 15:00:06 +00:00
Tom Copeland
0cbdd8acf8
Inlined a note about a NOPMD sublety
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4389 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-25 02:37:06 +00:00
Philippe Herlin
d30d904c9c
Finalize packaging details
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4388 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-22 22:41:48 +00:00
Philippe Herlin
cbde0d99af
Refactor the plug-in architecture to better support future evolutions
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4387 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-22 21:40:45 +00:00
Philippe Herlin
ff592287f0
Refactor the plug-in architecture to better support future evolutions
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4386 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-22 21:30:17 +00:00
Tom Copeland
180f412526
Added J2EE ruleset and initial rule UseProperClassLoader; thanks to Olaf Heimburger for the rule!
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4385 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-19 17:59:50 +00:00
Tom Copeland
1f2ba3b15d
Fixed XML schema usage in examples
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4384 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-19 17:38:04 +00:00
Tom Copeland
400c9b254d
Modified to use new SF CVS pattern, updated JavaNCSS to newer version that handles JDK 1.5
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4383 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-19 17:19:52 +00:00
Allan Caplan
071b18e4c5
Per the discussion on the forums: http://sourceforge.net/forum/forum.php?thread_id=1495353&forum_id=188192
...
This new rule checks for exceptions which are hidden from the re-throw. So, when an exception is caught and a new exception thrown, the old exception is not passed into the new exception. This sucks for trying to debug problems.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4382 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-19 00:55:30 +00:00
Tom Copeland
909ec95ffe
Latest updates thanks to Jeff Jenson
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4381 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-17 14:43:37 +00:00
Tom Copeland
70762365b3
Checking in changes made since CVS went down last week
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4380 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-15 18:58:48 +00:00
Philippe Herlin
cad7d128a0
Add the possibility to use the PMD violation review style
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4379 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-07 12:04:13 +00:00
Tom Copeland
4a3bb3e694
Was missing a priority, thanks Matthew!
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4378 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-04 21:49:22 +00:00
Tom Copeland
f5704b66dc
Fixed a bug in CallSuperInConstructor; it now checks inner classes/enums more carefully.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4377 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-04 13:09:36 +00:00
Tom Copeland
b18e1291e1
Fixed bug 1474778 - UnnecessaryCaseChange no longer flags usages of toUpperCase(Locale).
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4376 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-02 20:35:13 +00:00
Philippe Herlin
abbb9d5de6
Limit the number of reported violations per file and per rule
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4375 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-02 20:11:49 +00:00
Tom Copeland
56206afacf
Fixed bug 1461442 - UseAssertSameInsteadOfAssertTrue now ignores comparisons to null; UseAssertNullInsteadOfAssertTrue will report those.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4374 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-02 20:06:27 +00:00
Philippe Herlin
8f622f7334
Remove dead code
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4373 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-02 18:49:51 +00:00
Philippe Herlin
931af6b057
Make CPD "working set aware"
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4372 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-02 18:34:23 +00:00
Tom Copeland
85127f6948
Tweaked msg; thx to Brian R. for the suggestion
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4371 51baf565-9d33-0410-a72c-fc3788e3496d
2006-05-02 14:05:20 +00:00
Tom Copeland
3f3524d5be
Tweaked message, thx to Brian R for the suggestion
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4370 51baf565-9d33-0410-a72c-fc3788e3496d
2006-04-29 19:57:49 +00:00
Philippe Herlin
08851beef7
On the legacy Violations View, add new sorting option on line numbers and add reverse sorting on all columns (contribution of Pablo Alba)
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4369 51baf565-9d33-0410-a72c-fc3788e3496d
2006-04-27 20:35:54 +00:00
Tom Copeland
395b43b6ef
Fixed alignment
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4368 51baf565-9d33-0410-a72c-fc3788e3496d
2006-04-27 20:27:15 +00:00
Philippe Herlin
a2d709b666
Fix the usage of PMD deprecated createRuleSet() method
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4367 51baf565-9d33-0410-a72c-fc3788e3496d
2006-04-27 20:06:32 +00:00
Tom Copeland
afeaad9748
XML schema fixes thanks to Jeff Jensen
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4366 51baf565-9d33-0410-a72c-fc3788e3496d
2006-04-27 14:43:45 +00:00
Tom Copeland
163519b250
Added new DevX article
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4365 51baf565-9d33-0410-a72c-fc3788e3496d
2006-04-27 01:19:39 +00:00
Philippe Herlin
44e930011d
Reset PMD log and default log to warning level
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4364 51baf565-9d33-0410-a72c-fc3788e3496d
2006-04-26 21:18:17 +00:00
Philippe Herlin
930dd48210
Add the include derived files option
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4363 51baf565-9d33-0410-a72c-fc3788e3496d
2006-04-26 21:17:19 +00:00
Tom Copeland
1fc76ffc10
*** empty log message ***
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4362 51baf565-9d33-0410-a72c-fc3788e3496d
2006-04-26 13:27:18 +00:00
Tom Copeland
b0035e2c5c
Fixed docs, thx to David Karr for the correction
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4361 51baf565-9d33-0410-a72c-fc3788e3496d
2006-04-25 02:35:33 +00:00
Philippe Herlin
82f8229a5a
Rulesets list are now managed in the core plugin
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4360 51baf565-9d33-0410-a72c-fc3788e3496d
2006-04-24 21:18:11 +00:00
Philippe Herlin
83585035ef
Batch markers update to try to gain performance
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4359 51baf565-9d33-0410-a72c-fc3788e3496d
2006-04-24 20:55:15 +00:00
Philippe Herlin
3520a962d5
Add performance mesures on commands and on pmd execution
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4358 51baf565-9d33-0410-a72c-fc3788e3496d
2006-04-24 19:35:01 +00:00
Tom Copeland
6ebc243f23
More book references, thanks to Allan for the info!
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4357 51baf565-9d33-0410-a72c-fc3788e3496d
2006-04-24 16:17:08 +00:00
Tom Copeland
b24f0a9063
Added an optional 'showSuppressed' item to the Ant task; this is false by default and toggles whether or not suppressed items are shown in the report.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4356 51baf565-9d33-0410-a72c-fc3788e3496d
2006-04-21 15:47:59 +00:00
Tom Copeland
9c41fcda5f
New meaning
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4355 51baf565-9d33-0410-a72c-fc3788e3496d
2006-04-21 13:14:24 +00:00
Tom Copeland
7f27edc60b
Fixed bug 1472843 - UnusedPrivateMethod no longer reports false positives when a private method is only called from a method that contains a variable with the same name as that method.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4354 51baf565-9d33-0410-a72c-fc3788e3496d
2006-04-20 14:22:51 +00:00
Allan Caplan
9dda10d4b4
New JSP Rule: DuplicateJspImport
...
Checks for Duplicate imports in JSP's.
Found that, though CompilationUnit is inside the AST, it's not being visited, so created a short term hack to override a parent method so we know when the head of each file parse is - that way we can purge the list of imports.
Once CompilationUnits are visited properly I'll fix this
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4353 51baf565-9d33-0410-a72c-fc3788e3496d
2006-04-20 00:55:51 +00:00