Romain Pelisse
9102b422bf
apply patch 3084292: character reference in xml report - thanks to Seko
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7319 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 17:55:34 +00:00
Romain Pelisse
275fcc6def
clean designer script
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7316 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 17:32:20 +00:00
Romain Pelisse
b0a1246536
clean bgastviewer.sh script
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7315 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 17:32:03 +00:00
Romain Pelisse
bbd6605f3f
removes another rather useless script - IDE, Maven and Ant can do this for you
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7314 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 17:31:46 +00:00
Romain Pelisse
62dda9ef0e
delete now useless script wrapping scp
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7313 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 16:06:39 +00:00
Romain Pelisse
4a38a850fa
clean PMD run script
...
Also port the settings of java's heapsize, using a env var, from the CPD run script
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7312 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 16:05:59 +00:00
Romain Pelisse
8572a62429
clean CPD run script
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7311 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 15:41:24 +00:00
Romain Pelisse
799f7d6002
apply patch 3175832 from Cd-MaN: Add options to to the CPD command line task.
...
While applying the patch, I discover that properties where never really
used and not passed down to the language implementation. In order to fix
that and keep the loose coupling we currently have, I used the system
properties.
Also did isolate that in a separate function and did a (little) code
cleaning.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7310 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 15:40:34 +00:00
Romain Pelisse
00c54d77b0
whitespaces
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7309 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 15:38:34 +00:00
Romain Pelisse
ee7f23326b
apply patch 3315807 from Ryan Pavlik:
...
add .hxx and .hpp as valid file extension for CPD
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7308 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 15:37:54 +00:00
Brian Remedios
cb88e72aaf
+contribution credit
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7307 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 07:17:26 +00:00
Brian Remedios
426b783d2b
New XPath getCommentOn function as provided by Andy Throgmorton
...
https://sourceforge.net/tracker/?func=detail&aid=2833791&group_id=56262&atid=479923
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7306 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 06:57:43 +00:00
Brian Remedios
e1cd730134
+changes
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7305 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 05:14:03 +00:00
Brian Remedios
2c900f6605
bugfix - how did I miss this one? urgh
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7304 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 05:02:26 +00:00
Brian Remedios
225332e8f1
Updated list of report renderers, NPE bugfix
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7303 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 05:01:27 +00:00
Brian Remedios
28e8c16e6f
Support for checking code from working set selections. Contribution from Dominic:
...
http://sourceforge.net/tracker/?func=detail&atid=479923&aid=3137280&group_id=56262
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7302 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 04:59:42 +00:00
Brian Remedios
59bff0eea0
New report preferences page. Only saves active selections at the moment, all other settings are read-only.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7298 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-21 04:58:53 +00:00
Brian Remedios
9b4713f1ad
updated buglist
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7297 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-21 04:26:07 +00:00
Brian Remedios
4f7aa7cc52
Accommodating property refactoring in PMD proper: Rule->PropertySource
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7296 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-21 04:22:57 +00:00
Brian Remedios
ec8c9e1e5b
Modernizing: StringBuffer -> StringBuilder switchover
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7295 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-20 15:07:07 +00:00
Brian Remedios
04fcbeb2f8
Refactoring - pushed property mgmt functionality into new superclass now shared by the report renderers
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7294 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-20 05:42:37 +00:00
Brian Remedios
76e1fcbb6e
bugfix - add missing </table>
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7293 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-20 04:03:19 +00:00
Brian Remedios
ad0ad24047
bugfix, minor cleanup
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7279 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-19 06:14:15 +00:00
Brian Remedios
c4f9f749e4
Report renderers now specify their default file extensions
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7278 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-18 20:24:05 +00:00
Andreas Dangel
c42b82d1e7
fixed some unit tests, updated index site, updated changelog
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7277 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-18 11:20:11 +00:00
Brian Remedios
7b81e56a3f
updated, formatting. No functional changes
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7276 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-17 19:06:20 +00:00
Brian Remedios
c485378bbd
updated, formatting. No functional changes
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7275 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-17 18:53:56 +00:00
Brian Remedios
1d082f773b
refactoring
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7274 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-17 15:22:48 +00:00
Brian Remedios
6f2cce7b71
refactoring, cleanup - no functional changes
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7273 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-17 15:21:51 +00:00
Brian Remedios
28360da680
reduce complexity
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7272 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-17 04:39:08 +00:00
Brian Remedios
051aa506c6
reduce nesting, misc
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7271 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-17 04:27:20 +00:00
Brian Remedios
28e7d3ed8d
return empty array instead of null
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7270 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-17 04:12:37 +00:00
Brian Remedios
44c2477dca
Show error icon when selected rules have one or more problems
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7269 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-16 06:07:06 +00:00
Brian Remedios
290cda42aa
Show error icon when selected rules have one or more problems
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7268 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-16 06:05:19 +00:00
Brian Remedios
c11832e723
NPE fix & misc
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7267 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-16 06:02:21 +00:00
Brian Remedios
11f5efc448
A much improved (IMHO) CPD viewer that optimizes the display of the various matches.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7266 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-16 05:49:49 +00:00
Brian Remedios
de631fc97b
NPE fix under Windows
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7265 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-15 09:20:19 +00:00
Brian Remedios
5520f44fff
NPE fix under Windows
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7264 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-15 09:18:54 +00:00
Brian Remedios
d8182d1d85
NPE fix under Windows
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7263 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-15 09:03:04 +00:00
Brian Remedios
bbcce8e236
import cleanup
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7262 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-15 05:58:36 +00:00
Andreas Dangel
23b313075f
Fixing some unit tests
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7234 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-09 16:45:46 +00:00
Andreas Dangel
cdcecf6dff
Added forking again for junit tests
...
- otherwise the classpath isn't correct for PMDTaskTest
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7233 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-06 18:11:36 +00:00
Andreas Dangel
507b23d234
fixed encoding issues in StringUtilsTest
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7232 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-02 19:45:44 +00:00
Brian Remedios
f96d7aff34
rm dead import
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7231 51baf565-9d33-0410-a72c-fc3788e3496d
2011-08-30 09:57:12 +00:00
Brian Remedios
b0324e9a4c
AST view:
...
new Expand All button for tree
new Filter menu can hide/show imports or comments in the AST tree
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7230 51baf565-9d33-0410-a72c-fc3788e3496d
2011-08-30 09:55:57 +00:00
Brian Remedios
0f7a0cce95
Updated credits
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7229 51baf565-9d33-0410-a72c-fc3788e3496d
2011-08-30 07:46:42 +00:00
Brian Remedios
25ee4f06d9
misc formatting
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7228 51baf565-9d33-0410-a72c-fc3788e3496d
2011-08-30 07:39:53 +00:00
Brian Remedios
73a26f2480
+Two new rules provided by Andreas Dangel: LawOfDemeter and GodClass
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7227 51baf565-9d33-0410-a72c-fc3788e3496d
2011-08-30 07:37:15 +00:00
Brian Remedios
a911c38a50
+utility method, updated Javadocs
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7226 51baf565-9d33-0410-a72c-fc3788e3496d
2011-08-30 06:31:28 +00:00
Brian Remedios
dc4539ec88
encoding latin1 -> utf8
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7225 51baf565-9d33-0410-a72c-fc3788e3496d
2011-08-30 06:24:18 +00:00