1358 Commits

Author SHA1 Message Date
Ole-Martin Mork
7ceecd5cb6 Updated the pmd version
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1417 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-11 17:31:38 +00:00
Tom Copeland
76cde11a4d Moved some rules into the 'controversial' ruleset
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1416 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-11 16:28:30 +00:00
Tom Copeland
82b6f66b34 tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1415 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-10 22:23:54 +00:00
Tom Copeland
d76349f0b7 Refactoring per Carl's suggestions
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1414 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-10 22:17:29 +00:00
Tom Copeland
8268453ea5 Updated ASTExplicitConstructor invocation; added aa getArgumentCount() method
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1413 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-10 19:20:43 +00:00
Tom Copeland
daf9b5230c Fixed bug 683465; postprocessed JavaCC generated parser to use RuntimeExceptions vs Errors
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1412 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-10 18:36:01 +00:00
Tom Copeland
14598883cb Added information to ASTExplicitConstructorInvocation
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1411 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-10 15:30:51 +00:00
Tom Copeland
5dda872edb Initial implementation of AssignmentInOperandRule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1410 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-07 21:56:08 +00:00
Don Leckie
1946ab8439 Fixed problem where constructors were not testing the reporting level.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1409 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-07 21:55:15 +00:00
Tom Copeland
dd82e9730e Added some tests for CyclomaticComplexityRule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1408 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-07 18:50:06 +00:00
Tom Copeland
56319fa659 tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1407 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-07 17:20:10 +00:00
Tom Copeland
92ef5fe035 Removed a couple of unnecessary constructors
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1406 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-07 00:41:58 +00:00
Tom Copeland
4aa3eae028 Updates from Mats
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1405 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-06 19:32:00 +00:00
Don Leckie
5a58619686 Fixed divide by zero bug that would cause a large class complexity number.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1404 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-06 17:35:26 +00:00
Tom Copeland
1baf96f8e7 tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1403 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-06 16:23:11 +00:00
Tom Copeland
02ec0b020d updated credits
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1402 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-06 15:57:20 +00:00
Tom Copeland
890edf3f53 Added XSLT file thx to Mats Henricson
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1401 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-06 15:31:25 +00:00
Tom Copeland
63b8e30b2f Updated some docs
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1400 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-05 21:44:36 +00:00
Tom Copeland
1d466f0ea0 Updated UnusedModifierRule to catch 'public', too
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1399 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-05 19:58:30 +00:00
Tom Copeland
604a47733a Some much-needed refactoring
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1398 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-04 20:24:41 +00:00
Tom Copeland
ce437294ef rls preps
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1397 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-04 18:53:45 +00:00
Tom Copeland
305378fc38 Updated with contribution from Nascif A. Abousalh-Neto
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1396 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-04 18:53:09 +00:00
Tom Copeland
7305851055 Added code to support new Emacs plugin; thanks to Nascif A. Abousalh-Neto for the contribution
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1395 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-04 18:47:47 +00:00
Don Leckie
e44b6b03f1 no message
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1394 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-03 20:38:05 +00:00
Tom Copeland
bb3122752e Updated to make custom ruleset error messages clearer
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1393 51baf565-9d33-0410-a72c-fc3788e3496d
2003-02-03 16:34:33 +00:00
Tom Copeland
f809cec8f5 various tweaks
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1392 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-31 15:36:00 +00:00
Tom Copeland
5420547377 Added errors to PMD XML report generated via the CLI
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1391 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-30 19:18:20 +00:00
Tom Copeland
cf2f1ef061 Modified Ant task; changed attribute name to clarify its purpose. Added errors to XML report, too; thx to Vladimir for the idea and some code.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1390 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-30 15:50:02 +00:00
Tom Copeland
5fcc8fd851 minor refactoring
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1389 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-29 17:44:03 +00:00
Tom Copeland
be11288e2e Fixed bug in symbol table; it wasn't creating a scope level when it hit a switch statement
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1388 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-29 17:31:10 +00:00
Tom Copeland
f38bf5a047 Fixed bug in Ant task; failOnError attribute was broken
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1387 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-28 20:27:32 +00:00
Tom Copeland
80a89aceb5 Modified Ant task to fix bug 673117
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1386 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-28 20:18:06 +00:00
Don Leckie
9135daf8d8 Fixed potential NullPointerException.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1385 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-28 04:10:06 +00:00
Don Leckie
02a624bc43 Added "reportLevel" for determining when a rule violation is reported.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1384 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-28 04:08:24 +00:00
Don Leckie
bb30b7e839 Finished rule. Only switch case labels with a following block statement
are counted as decision points.  A case with only a break counts as 1.
A case with an expression but no break counts as 1.  A case with an
expression and a break counts as 1.


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1383 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-28 03:21:55 +00:00
Don Leckie
adeaa6b5d5 Change status message to "Loading root directories...".
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1382 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-28 03:16:28 +00:00
Don Leckie
1e782324e0 Reduce the Example rule cell font by -1. Now consumes less space.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1381 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-28 03:15:32 +00:00
Tom Copeland
df66f04d84 Fixed bug, thx to Don for the good catch
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1380 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-27 19:42:24 +00:00
Tom Copeland
70630626e6 tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1379 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-27 15:32:47 +00:00
Tom Copeland
a005e6810b made a couple of fields public since they're being set directly anyway....
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1378 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-27 15:05:33 +00:00
Tom Copeland
af9e964139 IDEAJ import cleaner upper
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1377 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-27 15:00:56 +00:00
Tom Copeland
384cd4f3d9 Several bug fixes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1376 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-27 14:56:18 +00:00
Don Leckie
a0f72d9659 Cleaned up reporting PMDExceptions.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1375 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-26 21:36:01 +00:00
Don Leckie
708957b7ee Fixed NullPointerException for interfaces.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1374 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-26 21:34:29 +00:00
Tom Copeland
184ae68441 *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1373 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-24 18:50:01 +00:00
Tom Copeland
84cdff894b Added another version contributed by Jason Rumney
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1372 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-24 18:48:41 +00:00
Tom Copeland
44a66f4aeb *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1371 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-24 16:18:05 +00:00
Tom Copeland
cc9e73b52f rls preps
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1370 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-23 22:20:27 +00:00
Tom Copeland
85ceb7ab99 *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1369 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-23 21:55:25 +00:00
Tom Copeland
c49f6b8276 Made this report into valid XHTML
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1368 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-23 18:49:16 +00:00