999 Commits

Author SHA1 Message Date
Tom Copeland
51ed94812a more refactoring. the code is slowing moving towards a bunch of Scope types - LocalScope, CaseScope, etc, etc - with each Scope being checked in sequence and know what it covers, how shadowing works, and so on.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1040 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-01 20:45:49 +00:00
Tom Copeland
b5b42c5d42 refactoring, adding tests
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1039 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-01 19:43:01 +00:00
Tom Copeland
711da07f1a *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1038 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-01 19:29:38 +00:00
Tom Copeland
2cfde44882 refactoring
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1037 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-01 19:13:10 +00:00
Tom Copeland
2af02643f2 slowly refactoring towards a nicer symbol table
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1036 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-01 18:37:46 +00:00
Tom Copeland
08c6f41818 updated rule to use a property
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1035 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-01 14:16:39 +00:00
Tom Copeland
3560b0a780 *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1034 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-01 00:43:08 +00:00
Tom Copeland
563f517388 yet another rule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1033 51baf565-9d33-0410-a72c-fc3788e3496d
2002-10-01 00:41:19 +00:00
Tom Copeland
311a2906da added text renderer to cmd line params
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1032 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-30 23:02:13 +00:00
Tom Copeland
19ca0e098e added test for new local variable case and fixed report hiding bug
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1031 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-30 20:47:41 +00:00
Tom Copeland
6746766969 added test for new local variable case and fixed report hiding bug
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1030 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-30 20:42:07 +00:00
Tom Copeland
4a0cf650d4 fixed scoping problem with new symbol table code
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1029 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-30 20:10:45 +00:00
Tom Copeland
0a534defd7 fixed scoping problem with new symbol table code
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1028 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-30 20:00:22 +00:00
Tom Copeland
c1f1d4c17c *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1027 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-30 18:25:17 +00:00
Tom Copeland
42ff4fe236 began to introduce a real symbol table
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1026 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-30 18:24:11 +00:00
Don Leckie
7357bc7272 Cleaned up some PMD analysis results.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1025 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-30 15:01:27 +00:00
Tom Copeland
3fbcf424e7 *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1024 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-30 14:44:47 +00:00
Tom Copeland
677b758cb5 minor refactoring
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1023 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-30 14:44:37 +00:00
Tom Copeland
914e8a62a9 added Gael
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1022 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-30 14:44:16 +00:00
Tom Copeland
e81e746574 added some more command line param checking
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1021 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-30 13:58:29 +00:00
Tom Copeland
a686f98a99 modified to skip error lines
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1020 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-30 12:07:48 +00:00
Tom Copeland
789489a58c enhanced LooseCouplingRule to check parameters
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1019 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-30 11:51:29 +00:00
Tom Copeland
ce5d29fdca removed unused variables
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1018 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-27 23:54:03 +00:00
Tom Copeland
2ef32a4b21 more tests for this rule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1017 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-27 23:37:41 +00:00
Tom Copeland
3f79d25603 more tests for this rule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1016 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-27 21:54:09 +00:00
Tom Copeland
1485c17669 began working on JumbledIncremeterRule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1015 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-27 21:16:05 +00:00
Tom Copeland
0a93050607 removed old unused test data files
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1014 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-27 20:13:24 +00:00
Tom Copeland
99dd6937c7 added some names
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1013 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-27 18:40:03 +00:00
Tom Copeland
e89eed8e83 refactoring
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1012 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-27 14:58:06 +00:00
Tom Copeland
35c9857afc minor refactoring
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1011 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-27 14:49:41 +00:00
Tom Copeland
9ac74cea44 minor refactoring
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1010 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-27 14:45:13 +00:00
Don Leckie
481d395102 Increased width of status indicator.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1009 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-27 14:43:09 +00:00
Tom Copeland
9093014015 fixed tests to reflect changes to RuleSetReader and Rule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1008 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-27 14:42:57 +00:00
Tom Copeland
4a6f3ec0cb *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1007 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-27 14:42:33 +00:00
Don Leckie
d8641eb875 UI Update and PMD Directory scheme.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1006 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-27 12:39:49 +00:00
Tom Copeland
d5818d2712 Changed to use Alina's Formula
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1005 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-27 03:03:00 +00:00
Tom Copeland
7be7975afd various updates - line counting and whatnot
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1004 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-27 01:29:55 +00:00
Tom Copeland
86789f14bd removed rich at his request
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1003 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-27 00:08:21 +00:00
Tom Copeland
f5df25c35e cleaned up unused variables
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1002 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-26 20:56:20 +00:00
Tom Copeland
9924046b0b changed file names to ensure uniqueness
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1001 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-26 20:51:41 +00:00
Tom Copeland
3e08e21f4f added SF logo
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1000 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-26 20:45:49 +00:00
Tom Copeland
3ae6e98a9d added a comments/questions line
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@999 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-26 20:21:20 +00:00
Tom Copeland
365d5fb6a6 *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@998 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-26 17:28:31 +00:00
Don Leckie
086b9276dd no message
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@997 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-26 17:24:52 +00:00
Tom Copeland
77afe0d233 enhanced rule to ensure rtn statement is last statement in method
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@996 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-26 15:14:15 +00:00
Tom Copeland
d4db34973f added new OnlyOneReturn rule
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@995 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-26 14:51:04 +00:00
Tom Copeland
5c049b6946 fixed bug which caused Metrics stuff to fail on interfaces - it was calling first() on an empty SortedSet
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@994 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-25 20:25:38 +00:00
Tom Copeland
76d1765b8c *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@993 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-25 20:17:42 +00:00
Tom Copeland
921e5b97c4 added pmd-web
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@992 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-25 20:17:18 +00:00
Tom Copeland
7c37b48af4 added some stats
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@991 51baf565-9d33-0410-a72c-fc3788e3496d
2002-09-25 19:32:39 +00:00