1249 Commits

Author SHA1 Message Date
David Dixon-Peugh
8060a94b43 Adding Finally test.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1304 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-16 21:00:39 +00:00
David Dixon-Peugh
5730150f82 Added test for Finally clause.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1303 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-16 20:59:56 +00:00
David Dixon-Peugh
2693e41ede Added checks for reverse sequence, and shuffled sequence.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1302 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-16 20:33:06 +00:00
David Dixon-Peugh
63f97fbf64 Adding count and total to Metric.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1301 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-16 19:01:40 +00:00
Tom Copeland
7214cad7f4 added a shortFilenames attibute to the Ant task. This can save a lot of space in the report file if you don't need the full filenames. It's off by default, of course....
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1300 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-16 03:00:46 +00:00
Tom Copeland
eb127cc2a1 cleaned up imports
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1299 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-15 03:03:10 +00:00
David Dixon-Peugh
2ceac0618a Added ant-task.html to the side bar.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1298 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-15 02:13:56 +00:00
David Dixon-Peugh
9d8b1921f9 Added documentation for database tag.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1297 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-15 02:12:08 +00:00
David Dixon-Peugh
e5e6c9ec56 Added JDBC stuff.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1296 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-15 01:52:17 +00:00
David Dixon-Peugh
4679ca9d15 Added database tag to PMD Task in Ant. Got rid of a debug message from SDR.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1295 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-15 01:50:28 +00:00
David Dixon-Peugh
e0b9c52fc6 Added mockobjects to the dependency. NOTE: Copy mockobjects-0.07.jar
from lib and put it into your "MAVEN_HOME/repository/mockobjects/jars"
directory to get it to work.


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1294 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-14 21:06:43 +00:00
David Dixon-Peugh
7cd8a5e3ed Unit test for the JDBCReportListener just introduced. Uses MockObjects 0.07
to pull it off.


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1293 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-14 21:05:35 +00:00
David Dixon-Peugh
35e4141211 This file is a composition of mockobjects-core-0.07.jar and
mockobjects-jdk1.4-0.07.jar.

I do it this way because Maven doesn't allow us to use two Jars
with the same id.  If you use Maven to build this, add this jar
to $MAVEN_HOME/repository/mockobjects/jars to get it to work.


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1292 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-14 21:04:23 +00:00
David Dixon-Peugh
76cd84abb8 This is a ReportListener that will drop data into a JDBC data source.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1291 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-14 21:02:36 +00:00
David Dixon-Peugh
08d61ec672 First version of the database structure. Written for MySQL (because
thats what I have on my machine.)


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1290 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-14 21:01:40 +00:00
David Dixon-Peugh
89f63fd2d3 Fixed PMD to build with Maven. Decoupled XML Parsers from Apache. Now
they use whatever is installed in the system.  Fixed a two unit-tests
from when Maven executes its stuff.


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1289 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-14 16:27:06 +00:00
Tom Copeland
2a7e6ba0bb tweaked null assignment rule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1288 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-13 15:41:18 +00:00
David Dixon-Peugh
bec72b3cae Adding rules for SwitchDensity and NullAssignment.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1287 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-13 14:58:05 +00:00
David Dixon-Peugh
a6c3f8dcc8 New NullAssignment Rule. Checks for assignments to null outside of declarations.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1286 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-13 14:47:15 +00:00
David Dixon-Peugh
ecec95db64 Test for the new Null Assignment rule.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1285 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-13 14:46:38 +00:00
David Dixon-Peugh
28aa9034b2 Test data for the new Null Assignment rule.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1284 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-13 14:46:00 +00:00
David Dixon-Peugh
3eed10210f Adding SwitchDensity Rule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1283 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-12 19:07:24 +00:00
Tom Copeland
cb28bf1327 fixed bug 650623
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1282 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-12 17:16:09 +00:00
Tom Copeland
a36fa935df *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1281 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-10 15:32:03 +00:00
Tom Copeland
cfebd11860 readded CPD results
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1280 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-10 15:14:01 +00:00
Tom Copeland
92be8ee574 improved cmd line parameter parsing
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1279 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-09 19:54:28 +00:00
Tom Copeland
de58655830 improved cmd line parameter parsing
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1278 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-09 19:48:05 +00:00
Tom Copeland
d0d88c3288 color tweaks
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1277 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-09 15:41:11 +00:00
Tom Copeland
32be595c10 modified Ant task to use formatter element vs separate reportFile and format attributes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1276 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-09 15:36:04 +00:00
Tom Copeland
3cb8d95d4e removed link to missing file (for now)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1275 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-09 13:20:31 +00:00
Tom Copeland
56c51b3940 cleaned up imports, yay IDEAJ!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1274 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-06 21:57:53 +00:00
Tom Copeland
d0f82ba9cc cleaned up imports
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1273 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-06 21:53:20 +00:00
Tom Copeland
712e817781 tweaked rule to report a more useful line number
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1272 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-03 13:21:55 +00:00
Ole-Martin Mork
48d7f7d78e The 0.6 release
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1270 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-02 22:36:29 +00:00
Tom Copeland
97ee3446f0 added checks to setup/teardown name checking
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1269 51baf565-9d33-0410-a72c-fc3788e3496d
2002-12-02 17:00:27 +00:00
Tom Copeland
a89d2a10b4 added backup of jobs, added colors and whatnot to web page
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1268 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-27 16:52:35 +00:00
Ole-Martin Mork
b6fd1a161e Fixed a bug found in the testing today
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1267 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-26 17:58:33 +00:00
Ole-Martin Mork
4101169603 Forgot this one
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1266 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-26 08:18:38 +00:00
Ole-Martin Mork
9f0263195e Preparing for a new release, finished some javadoc, created shortcut and generally freshed up the code
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1265 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-25 23:25:48 +00:00
Tom Copeland
0c4c028c08 *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1264 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-25 14:21:54 +00:00
Tom Copeland
8d2b3d85fc updated loose coupling rule to check for Vector; thx to Vladimir for catching that
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1263 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-25 14:20:26 +00:00
Tom Copeland
e6c434e567 added paul
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1262 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-25 14:19:50 +00:00
Ole-Martin Mork
b8db22a509 updated the weight of the components
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1261 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-21 23:32:18 +00:00
Ole-Martin Mork
476b675aad Getting closer to the new properties layout
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1260 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-21 23:01:12 +00:00
Ole-Martin Mork
2276103f28 More work on the properties dialog. Enabled viewing of properties.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1259 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-21 21:15:48 +00:00
Tom Copeland
1c8b83e86e modified to sort names
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1258 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-20 20:03:51 +00:00
Tom Copeland
5236122088 added new ImportFromSamePackageRule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1257 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-20 19:24:36 +00:00
Ole-Martin Mork
d3bed2baa6 New option dialog
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1256 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-20 17:15:19 +00:00
Tom Copeland
1944203431 rls preps
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1254 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-20 13:39:32 +00:00
Tom Copeland
1aedc58e40 updated to use new CVS server name
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1253 51baf565-9d33-0410-a72c-fc3788e3496d
2002-11-19 15:03:59 +00:00