1328 Commits

Author SHA1 Message Date
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
Tom Copeland
dbbe856d56 more JDBC listener cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1353 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-21 14:43:21 +00:00
Tom Burke
2c09ebb12d Fixed dup tasks, tasks are persistent, tasks can be deleted
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1352 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-18 20:54:57 +00:00
Tom Copeland
c2cbc4cf3a Replaced old Lisp with new code from John Russell
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1350 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-16 21:22:32 +00:00
Tom Copeland
52214dde25 Replaced old Lisp with new code from John Russell
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1349 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-16 20:50:51 +00:00
Tom Copeland
923815c01e Initial revision
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1346 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-16 19:40:33 +00:00
Tom Copeland
4d4af995bb Minor tweak to make it compile with JDK 1.3
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1345 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-16 19:40:03 +00:00
Tom Copeland
97ff599330 Removed JDBCReportListenerTest, cleaned up imports
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1344 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-16 19:16:50 +00:00
Tom Copeland
8fc93f5e89 Removed JDBCReportListener stuff; all that info is still in CVS of course - rev 1.13
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1343 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-16 19:14:26 +00:00
Tom Copeland
86a2499242 Removed JDBCReportListener; it's moving into a separate module
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1342 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-16 19:11:27 +00:00
Don Leckie
bb284207e5 Added Cyclomatic Complexity rule.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1341 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-16 18:45:20 +00:00
Tom Copeland
7c15bde289 Added support for priorities
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1340 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-16 17:22:03 +00:00
Tom Copeland
318f675d94 Fixed bug 668119
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1339 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-16 16:38:34 +00:00
Tom Copeland
c2234a5a8b tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1338 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-16 15:50:57 +00:00
Tom Copeland
679fd68cdf cleaned up import statements, removed a couple unused variables
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1337 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-16 15:49:59 +00:00
Don Leckie
45dd6816a9 no message
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1336 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-12 02:02:57 +00:00
Tom Copeland
f204c78dd3 tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1335 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-09 15:20:52 +00:00
Tom Copeland
7023e592f4 fixed some PMD violations, cleaned up imports
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1334 51baf565-9d33-0410-a72c-fc3788e3496d
2003-01-07 14:19:10 +00:00