176 Commits

Author SHA1 Message Date
5be8148e99 Some code enhancements:
PMD.java. splited the imports to avoid check style message: Using the '.*' form of import should be avoided - net.sourceforge.pmd.lang.*.
AbstractNodeInfo now has all the overrides
String utils now has the EMPTY_STRING variable declared as private and a getter method to access it. Refactored isSame to avoid using     @SuppressWarnings("PMD.CompareObjectsWithEquals")
DFAPanel uses the getter for empty strings. Also deleted comments that seems to be old code and addd the override to valueChanged
In DBMSMetadadataTest we were passing a parameter to  System.out.format but it hasn't the place holder for the parameter
2016-04-30 23:21:43 +02:00
7460723660 documentation: new java and apex rules 2016-04-23 18:30:57 +02:00
33983b3358 Refactor code climate categories to be a EnumeratedMultiProperty as
this is not a free text string property - only specific values
are supported
2016-04-23 11:43:48 +02:00
78470b909f Merge branch 'master' of https://github.com/Up2Go/pmd into pr87 2016-04-23 11:16:08 +02:00
3ed2b3bced Added Code Climate pass through properties to ruleset.xml 2016-04-19 15:59:44 +02:00
9d5598e63a Fixed Code Climate renderer test 2016-04-18 15:39:46 +02:00
487ac7d509 Make PMD Language modules comparable and provide a default implementation 2016-04-17 19:42:00 +02:00
c50fd060ed 1) Renamed CodeClimate specific properties to better be recognizable as
CodeClimate specific
2) Added Code Climate categegories pass through property to not depend
on our current ruleset name = category solution
2016-04-16 20:25:20 +02:00
2da0108306 Added CodeClimateRule to enhance Apex rules with pass through properties
needed for a sensible Code Climate output (currently only a multiplier
for their remediation_point default min value of 50.000)
2016-04-15 23:03:13 +02:00
67daf44dcd Improved Code Climate Renderer
JSON report now indicates the proper category
2016-04-15 17:49:08 +02:00
b303f27554 Changed all rule categories according to the categories of the Code
Climate Spec https://github.com/codeclimate/spec/blob/master/SPEC.md
2016-04-15 17:30:14 +02:00
b230d4eebc Merge branch 'master' of https://github.com/Up2Go/pmd into Up2Go-master 2016-04-10 17:18:42 +02:00
40bf24bced Provide a warning and do not fail, if java7 is used 2016-04-09 19:45:55 +02:00
8bec393cf8 Use the source code position from core in javascript 2016-04-09 18:57:56 +02:00
365b403005 Using now startIndex and endIndex of the location. Works for most cases.
Only exceptions are:
*   Methods: the end is determined by the contained block statement
*   Root nodes: the end is just the end of the whole source file

Uses the source code position from the javascript module.


Fixes Up2Go/pmd#30
2016-04-09 18:46:46 +02:00
1e957080eb Merge branch 'pr-33' 2016-03-29 20:18:30 +02:00
c9ff12785a Merge branch 'bug-1461-doc' 2016-03-13 15:29:16 +01:00
c571abdb1d Merge branch 'bug-1461-doc' into pmd/5.3.x 2016-03-13 15:28:58 +01:00
0725586b9a Update documentation about thread safety of rules (see #1461) 2016-03-13 15:28:37 +01:00
ccbb372a4f Fix compile error (pmd 5.3.x is on java6) 2016-03-10 20:19:30 +01:00
baf4a9c7f5 Merge branch 'bug-1461' 2016-03-10 20:16:26 +01:00
4a0802a269 Revert "RuleSetFactory Performance Enhancement:-"
This reverts commit 9da51952efb1671d664b20ffb3d49506e34d0818.
2016-03-10 20:11:06 +01:00
3de70426cf Revert "Update changelog, keep backwards compatible createRuleSets methods by overloading"
This reverts commit b753cc5ec5d2240e907b60f78925f78c2f682bf5.
2016-03-10 20:10:58 +01:00
54ce3036b2 Add unit test to verify concurrency issue #1461
References pr #75
2016-03-10 20:10:51 +01:00
e52be14980 Merge branch 'pr-31' 2016-01-21 20:37:53 +01:00
04527bc4cb Update changelog 2016-01-21 20:23:02 +01:00
82178809fa Merge branch 'detect_file_encoding_using_UTF_BOM' of https://github.com/tiobe/pmd into pr-31 2016-01-21 20:10:22 +01:00
3e791f5d22 Merge branch 'pr-30' 2016-01-20 22:25:40 +01:00
b9b6e13849 Update changelog 2016-01-20 22:08:28 +01:00
64441c8e93 Merge branch 'tiobe/remove_filefilter_for_files' of https://github.com/tiobe/pmd into pr-30 2016-01-20 21:38:23 +01:00
607606534d Added file encoding detection to CPD. 2016-01-11 13:57:04 +01:00
fc2856ee34 Merge branch 'pr-83'
Closes #83 (rebased)
2016-01-07 10:53:46 +01:00
e08ba3ea30 Update changelog 2016-01-07 10:50:48 +01:00
b2d5342493 Adds new Code Climate-compliant JSON renderer 2016-01-07 10:47:47 +01:00
10db98bfee Removed file filter for files that are explicitly specified on the CPD command line using the '--files' command line option. 2015-12-10 16:47:58 +01:00
83eceab455 [maven-release-plugin] prepare for next development iteration 2015-12-04 19:15:01 +01:00
c141c91612 [maven-release-plugin] prepare release pmd_releases/5.3.6 2015-12-04 19:15:01 +01:00
b78c7f2aa7 Merge branch 'java-7' 2015-11-29 22:11:44 +01:00
fd2dcddc44 Java 7 changes and some compiler warnings fixed 2015-11-25 22:06:18 +01:00
d7b5ef8884 Java 7 changes and some compiler warnings fixed 2015-11-20 11:32:18 +01:00
1b64519690 Java 7 changes 2015-11-20 11:32:18 +01:00
ac39f245b2 Merge branch 'bug-1441' 2015-11-14 17:56:43 +01:00
30a9309479 Merge branch 'bug-1441' into pmd/5.4.x 2015-11-14 17:56:01 +01:00
c9dca8dc92 #1441 PMD: Update documentation how to compile after modularization 2015-11-14 17:53:52 +01:00
7be078a2d8 Merge branch 'pull-request-25' into pmd/5.4.x 2015-10-26 21:00:53 +01:00
c43b24a40f Merge branch 'pull-request-25' 2015-10-26 21:00:31 +01:00
ba92715b19 CPD GUI: Add ignoreUsings option 2015-10-26 20:47:34 +01:00
2fa869a868 CPD Ant Task: Add ignoreUsings option 2015-10-26 20:36:07 +01:00
88634a220a Add "--ignore-usings" parameter to CPD commandline for C# 2015-10-25 19:10:18 +01:00
74751bd613 Merge branch 'amitbitcse-pmd/5.3.x' 2015-10-16 17:51:16 +02:00