Commit Graph

422 Commits

Author SHA1 Message Date
255dfd04a8 Changed benchmark name 2017-05-31 00:40:23 +02:00
9ad46fbf88 Documented usesMetrics and usesTypeRes 2017-05-30 13:39:41 +02:00
da4897f2b3 Fix misplaced benchmark 2017-05-28 18:14:10 +02:00
4be7616c15 Fixed formatter chaos 2017-05-28 18:13:19 +02:00
ad51c61f33 Revert dumb move with gitignore 2017-05-26 15:27:48 +02:00
117da90e72 Fix benchmark 2017-05-26 14:23:24 +02:00
1dacfd1b96 Update untracked 2017-05-23 18:28:24 +02:00
ea2523489a Checkstyle fixes 2017-05-22 19:27:36 +02:00
cad0697798 Added a Benchmark for Metrics 2017-05-22 18:57:53 +02:00
0be4a2c09a SourceCodeProcessor should now start MetricsVisitorFacade 2017-05-22 18:53:40 +02:00
fffa63ad63 Rulesets are aware of useMetrics 2017-05-22 18:52:53 +02:00
dc83eb1720 Introduced metrics attribute in xml rule element 2017-05-21 20:37:59 +02:00
c0b020e066 Added usesMetrics to Rule interface 2017-05-21 20:33:39 +02:00
1e64c0d864 [maven-release-plugin] prepare for next development iteration 2017-05-20 22:35:55 +02:00
9b70c1a0d1 [maven-release-plugin] prepare release pmd_releases/5.7.0 2017-05-20 22:35:46 +02:00
daa66f5bbb Merge branch 'empty_renderer' of https://github.com/ryan-gustafson/pmd 2017-05-20 20:27:28 +02:00
4a03cd7eb7 Fixes #389 RuleSetCompatibility - old ruleset name was unusedcode 2017-05-08 20:35:13 +02:00
354e592540 Add the 'empty' Renderer which writes nothing.
Use with '-f empty' on the command line.
2017-05-07 22:30:54 -05:00
c5ae33a683 [core] HTMLRenderer: Add test for HTML escaping 2017-05-01 17:19:40 +02:00
a99c39fd24 Merge branch 'XSSInHTMLRenderer' of https://github.com/sgorbaty/pmd into pr-372 2017-05-01 16:58:15 +02:00
0d0134b4fd Change version to 5.7.0-SNAPSHOT 2017-04-29 20:27:03 +02:00
7373b040c9 [maven-release-plugin] prepare for next development iteration 2017-04-29 20:20:16 +02:00
65a18787e9 [maven-release-plugin] prepare release pmd_releases/5.6.1 2017-04-29 20:20:07 +02:00
b1784d41af Fixes #373 - Add more helper methods in RuleSetFactory.
Note: This is not ideal and merely helps to get the eclipse
plugin out of the door. Dealing directly in such a way with RuleSets
probably breaks incremental analysis. It also leads to shared
Rule instances, which might lead to concurrency issues.
2017-04-28 20:49:15 +02:00
daeb9e6c1e Using Lang 3 2017-04-28 10:54:09 -07:00
985299b490 Fix XSS in HTML renderer 2017-04-28 10:38:48 -07:00
9fae304b6f Disable caching for URLConnections
Fixes #364, refs #337
2017-04-25 22:46:08 +02:00
9653ee8025 Revert "Synchronize the loading/parsing of a ruleset"
This reverts commit b2150bbeb6.
2017-04-25 22:10:02 +02:00
b2150bbeb6 Synchronize the loading/parsing of a ruleset
Fixes #364
2017-04-24 21:59:51 +02:00
d4edeefa63 [maven-release-plugin] prepare for next development iteration 2017-04-22 13:20:12 +02:00
38fb34dc17 [maven-release-plugin] prepare release pmd_releases/5.6.0 2017-04-22 13:20:03 +02:00
23ed813954 Fix additional potential resource leaks
refs #337 refs #349
2017-04-14 12:34:06 +02:00
effe71ed54 https://github.com/pmd/pmd/issues/337
Modify ResourceLoader to close underlying JarFile if using
JarURLConnection to avoid open file leaks. Clarify on JavaDoc that
caller must close the returned InputStream.

Minor test usage cleanups.
2017-04-14 01:16:18 -05:00
d0ef852a06 [java] Rename unusedcode/UnusedModifier to unnecessary/UnnecessaryModifier 2017-03-18 19:24:57 -03:00
c3aa405c3c Add unit test for CPD --filelist option
*   unify implementation of PMD/CPD for the file list option
*   references #295
2017-03-18 11:57:20 +01:00
12058b7699 Merge branch 'add--filelist' of https://github.com/impmihai/pmd into feature-295 2017-03-18 11:14:25 +01:00
ee1780e83e Add integration test for CPD 2017-03-17 11:54:40 +01:00
029ed7c7a8 Adding the --filelist option from pmd to cpd.
Now you can provide files through a CSV file instead of putting them in command arguments.
Closes https://github.com/pmd/pmd/issues/295
2017-03-15 21:43:26 +02:00
a739257daa Update changelog, adding the new braces ruleset for apex
Closes #272
2017-03-03 19:49:48 +01:00
9e77578408 Merge branch 'pmd/5.5.x' 2017-02-25 20:59:21 +01:00
12fb1c2d7f [maven-release-plugin] prepare for next development iteration 2017-02-25 20:44:32 +01:00
765a542604 [maven-release-plugin] prepare release pmd_releases/5.5.4 2017-02-25 20:44:24 +01:00
e5a126c9d6 Merge branch 'pmd/5.4.x' into pmd/5.5.x 2017-02-25 20:31:17 +01:00
4c7774ebf0 [maven-release-plugin] prepare for next development iteration 2017-02-25 19:03:45 +01:00
0eec906467 [maven-release-plugin] prepare release pmd_releases/5.4.5 2017-02-25 19:03:37 +01:00
c05c0e0d62 Delete temporary file after test 2017-02-25 17:41:18 +01:00
aad1e9a5a0 Merge branch 'language-sorting' 2017-02-24 15:16:35 +01:00
0b8fe7b290 Merge branch 'language-sorting' into pmd/5.5.x 2017-02-24 15:10:02 +01:00
40ed158204 Sort languages by terse name 2017-02-24 15:00:52 +01:00
00540a8e45 Sort supported languages by name by default, so that we have
a consistent order.
2017-02-24 14:40:31 +01:00