9f40a707e0
Closes #1486 Add rule for no-else-return - New Javascript rule
2016-05-20 19:42:32 +02:00
b2db6432e0
Merge branch 'release/multiple-code-improvements-fix-1' of https://github.com/DevFactory/pmd into DevFactory-release/multiple-code-improvements-fix-1
2016-05-20 19:11:14 +02:00
9c21c14a85
Merge branch 'master' of https://github.com/dionisioC/pmd into dionisioC-master
2016-05-20 18:56:18 +02:00
9451ad025c
Merge branch 'issue-1360-ruleset-compatibility'
2016-05-18 21:03:17 +02:00
f32beeb726
Provide a command line option for #1360 - "-noRuleSetCompatibility"
2016-05-18 20:38:44 +02:00
511c7778c5
Small code enhancements, basically reordering variable declarations, constructors and variable modifiers
2016-05-15 22:41:26 +02:00
ba18ee705e
Merge branch 'issue-1360-ruleset-compatibility'
2016-05-13 19:06:33 +02:00
1b65c7fe91
References #1360 Provide backwards combatibility for PMD configuration file
...
Handle exclusions
2016-05-13 18:53:00 +02:00
44ee51d5a6
References #1360 Provide backwards combatibility for PMD configuration file
...
Add test cases for excluded rules
2016-05-06 11:08:25 +02:00
15fd444b7a
References #1360 Provide backwards combatibility for PMD configuration file
2016-05-06 10:52:43 +02:00
bab3e965ff
Fixes #1478 PMD CLI - Use first language as default if Java is not available
2016-05-05 19:59:06 +02:00
ae078e7252
multiple code improvements: squid:S1192, squid:S1118, squid:S1066, squid:S1854, squid:S2864
2016-05-05 09:47:50 +04:00
9ab1b23a5a
Refactored two test to spot using the deprecated ant class BuildFileTest
2016-05-02 22:46:19 +02:00
be8da01858
Merge branch 'master' of https://github.com/dionisioC/pmd into dionisioC-master
2016-05-01 13:47:45 +02:00
69f3893b86
Update checkstyle configuration
2016-05-01 11:54:01 +02:00
a69cfa2223
Changing tabs for spaces so the code dones't look awkward
2016-04-30 23:27:50 +02:00
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
2afd30c283
[maven-release-plugin] prepare for next development iteration
2016-04-30 23:15:13 +02:00
d89549f994
[maven-release-plugin] prepare release pmd_releases/5.3.7
2016-04-30 23:15:13 +02:00
0c02da8313
Fix compile errors - commons-lang3 should be used
2016-04-29 11:32:31 +02:00
e2cc7e3dd6
Merge branch 'master' of https://github.com/Up2Go/pmd into pr-88
2016-04-29 11:27:15 +02:00
130f05cffd
Moved special handling code from model into renderer class
2016-04-28 21:18:19 +02:00
dfe2cc0ef5
Fixed the CodeClimate renderer - Cut off the "/Code/" working directory
...
of CodeClimate engines in order to get the relative path.
2016-04-28 18:51:38 +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 9da51952ef
.
2016-03-10 20:11:06 +01:00
3de70426cf
Revert "Update changelog, keep backwards compatible createRuleSets methods by overloading"
...
This reverts commit b753cc5ec5
.
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