1495 Commits

Author SHA1 Message Date
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
Tom Copeland
687d636622 fixed bug 672742
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1367 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-23 15:58:57 +00:00
Tom Copeland
5c82eb9fa8 fixed bug 672742
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1366 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-23 15:46:01 +00:00
Tom Copeland
d3686791a9 More HTMLRenderer improvements from Luke
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1365 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-22 22:14:45 +00:00
Tom Copeland
988cb86b1a tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1364 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-22 20:14:35 +00:00
Tom Copeland
5884221cf2 rls preps
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1362 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-22 19:27:54 +00:00
Tom Copeland
1295fa3ea6 moved CCC rule back into new rules
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1361 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-22 18:50:07 +00:00
Tom Copeland
5113b37ade rls preps
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1360 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-22 18:17:51 +00:00
Tom Copeland
de7a7ea4ff Added some documentation, updated line counting code
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1359 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-22 15:44:43 +00:00
Tom Copeland
c1a3abf154 tweaked per Luke's suggestions, thanks!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1358 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-21 17:43:14 +00:00
Tom Copeland
bdd7f56e5b updated to reflect new Sourceforge CVS configuration
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1357 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-21 16:04:16 +00:00
Tom Copeland
9e78dd244e tweaks to cleanup JDBCReportListener stuff, added Tom Burke to the developer team list
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1356 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-21 15:37:53 +00:00
Tom Copeland
ad5e46d18d moved jar file over
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1355 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-21 15:15:42 +00:00
Tom Copeland
0e8a379622 Added HTML alternate row colorization; thx to Luke Francl for the idea
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1354 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-21 14:54:52 +00:00