173 Commits

Author SHA1 Message Date
Tom Copeland
247a612fbd tweaked to use the variable name in the warning message
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@177 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 19:21:17 +00:00
Tom Copeland
203fb41b90 tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@176 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 19:16:42 +00:00
Tom Copeland
2e061a707f specified remaining rules in basic.xml
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@175 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 19:14:44 +00:00
Tom Copeland
0c07a7e668 Moved Cougaar-specific rules into a new org.cougaar.util.pmd package
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@174 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 19:04:14 +00:00
Tom Copeland
c45a1311b2 modified Ant task to accept multiple rule sets
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@173 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 18:50:24 +00:00
Tom Copeland
fcce55e16a moved more rules into ruleset.xml files
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@172 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 18:37:09 +00:00
Tom Copeland
ab71fea241 More refactoring; mainly pushing more stuff out of MD.java and into the clients. This may end up getting pushed back in again, but I think it's the right thing to do for now.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@171 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 18:19:59 +00:00
Tom Copeland
dad91da057 refactoring PMD.java to reduce that confusing jumble of interconnected methods
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@170 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 18:12:10 +00:00
Tom Copeland
88d02e0218 tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@169 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 17:55:08 +00:00
Tom Copeland
5b14cd267d classname was wrong in taskdef
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@168 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 16:41:26 +00:00
Tom Copeland
512bdc7cc3 *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@167 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 16:30:53 +00:00
Tom Copeland
9cab7f0715 report refactoring
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@166 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 16:25:43 +00:00
Tom Copeland
8910b1ea83 *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@165 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 15:29:07 +00:00
Tom Copeland
6a96a5ba11 updating tests
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@164 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 15:11:46 +00:00
Tom Copeland
e115567351 Added new section
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@163 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 14:25:30 +00:00
Tom Copeland
e33cf9043c notes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@162 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 14:17:46 +00:00
Tom Copeland
bc3581310e added several more similar projects
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@161 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 14:17:39 +00:00
Tom Copeland
e5a1d195fa Added 'failonerror' attribute to Ant task; thanks to Damian ONeill for the patch
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@160 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 13:40:17 +00:00
Tom Copeland
1c9ec3ad45 verbiage
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@159 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 13:35:23 +00:00
David Dixon-Peugh
ab03122b2e Added Short/Long Variable Rules to basic.xml set.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@158 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 01:28:57 +00:00
David Dixon-Peugh
ea43e33c73 Long/Short Variable Rule tests.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@157 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 01:22:09 +00:00
David Dixon-Peugh
17ed30e6fc Test data for Short/Long Variable rules.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@156 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 01:21:34 +00:00
David Dixon-Peugh
7777650929 Short and Long Variable rules, added to the mix.
Short < 3, Long > 12


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@155 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-02 01:20:58 +00:00
Tom Copeland
7e198b29d8 RuleFactory has been replaced with RuleSetFactory
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@154 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-01 21:29:53 +00:00
Tom Copeland
ae464bdb6f moving rules into XML files
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@153 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-01 21:24:28 +00:00
David Dixon-Peugh
1a6cfc75b0 Works for me.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@152 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-01 20:47:43 +00:00
Tom Copeland
f2452d49ba moving towards XML-based rules
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@151 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-01 20:36:16 +00:00
Tom Copeland
c608b10430 refactoring report
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@150 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-01 17:44:49 +00:00
Tom Copeland
ea4f9c8903 moved Report to its own package
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@149 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-01 16:31:50 +00:00
Tom Copeland
f6af917772 Removed text report
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@148 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-01 16:18:17 +00:00
David Dixon-Peugh
176ff26a27 Testing RuleSet.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@147 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-01 16:05:20 +00:00
David Dixon-Peugh
efef085489 Represents a RuleSet. Testing doesn't work for it yet.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@146 51baf565-9d33-0410-a72c-fc3788e3496d
2002-07-01 16:04:50 +00:00
Tom Copeland
20c2475136 *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@145 51baf565-9d33-0410-a72c-fc3788e3496d
2002-06-29 22:23:08 +00:00
Tom Copeland
1bce30c9f0 *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@144 51baf565-9d33-0410-a72c-fc3788e3496d
2002-06-28 23:22:14 +00:00
Tom Copeland
7b5aca908a added design ruleset to general rule set
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@143 51baf565-9d33-0410-a72c-fc3788e3496d
2002-06-28 20:05:18 +00:00
Tom Copeland
e99e1402fe updated with UseSingletonRule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@142 51baf565-9d33-0410-a72c-fc3788e3496d
2002-06-28 20:03:00 +00:00
Tom Copeland
0d76d2e8c3 RuleFactory is now an object vs a glom of static methods
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@141 51baf565-9d33-0410-a72c-fc3788e3496d
2002-06-28 19:39:29 +00:00
Tom Copeland
e87a3814b5 test refactoring
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@140 51baf565-9d33-0410-a72c-fc3788e3496d
2002-06-28 19:07:15 +00:00
Tom Copeland
8caf5aafb7 moving tests
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@139 51baf565-9d33-0410-a72c-fc3788e3496d
2002-06-28 19:01:20 +00:00
Tom Copeland
503b634764 More rule migration
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@138 51baf565-9d33-0410-a72c-fc3788e3496d
2002-06-28 18:40:57 +00:00
David Dixon-Peugh
901380146c New Test Case - constructors but no methods.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@137 51baf565-9d33-0410-a72c-fc3788e3496d
2002-06-28 18:39:23 +00:00
David Dixon-Peugh
344c367519 New Test Case - Constructor, no Methods.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@136 51baf565-9d33-0410-a72c-fc3788e3496d
2002-06-28 18:39:01 +00:00
David Dixon-Peugh
164825993b Fixed no-method case.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@135 51baf565-9d33-0410-a72c-fc3788e3496d
2002-06-28 18:38:17 +00:00
Tom Copeland
e37a0ceefb moving stuff out of FunctionalTest
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@134 51baf565-9d33-0410-a72c-fc3788e3496d
2002-06-28 18:05:57 +00:00
Tom Copeland
213e37f2a4 Began breaking up FunctionalTest
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@133 51baf565-9d33-0410-a72c-fc3788e3496d
2002-06-28 17:58:13 +00:00
David Dixon-Peugh
225ccd005a Took out System.err.println's . . .
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@132 51baf565-9d33-0410-a72c-fc3788e3496d
2002-06-28 17:47:35 +00:00
David Dixon-Peugh
c4460be0e5 Puting in proper values in UseSingletonRuleTest.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@131 51baf565-9d33-0410-a72c-fc3788e3496d
2002-06-28 17:45:28 +00:00
David Dixon-Peugh
9fddbd5c8e Fixed problem on AbstractRule. UPIVR should have been checked in already.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@130 51baf565-9d33-0410-a72c-fc3788e3496d
2002-06-28 17:44:58 +00:00
Tom Copeland
8c264ca01f Added new stuff to RuleFactory
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@129 51baf565-9d33-0410-a72c-fc3788e3496d
2002-06-28 17:44:42 +00:00
Tom Copeland
979e6e9e3f Added DESIGN rule set
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@128 51baf565-9d33-0410-a72c-fc3788e3496d
2002-06-28 17:34:34 +00:00