13325 Commits

Author SHA1 Message Date
Juan Martín Sotuyo Dodero
ecdd3ad2a7 Update changelog, refs #1264 2018-07-30 01:03:24 -03:00
Juan Martín Sotuyo Dodero
078ffa18e4 Merge branch 'pr-1264' 2018-07-30 01:02:23 -03:00
Travis CI (pmd-bot)
afaff78468 Update documentation
TRAVIS_JOB_NUMBER=2662.1
TRAVIS_COMMIT_RANGE=5caee3190a23...ad5cd0ddad93
2018-07-30 03:26:59 +00:00
Juan Martín Sotuyo Dodero
ad5cd0ddad Update changelog, refs #1258 2018-07-30 00:13:48 -03:00
Juan Martín Sotuyo Dodero
a5589e8f3a Merge branch 'pr-1258' 2018-07-30 00:11:08 -03:00
Juan Martín Sotuyo Dodero
c7ac7ccbd1 [java] Avoid NoClassDefFoundError with incomplete classpath 2018-07-29 20:59:48 -03:00
Andreas Dangel
582218bed9 [java] MissingSerialVersionUID - add test case, use typeIs 2018-07-29 21:57:01 +02:00
BBG
2b0e9e0ccf danger integration 2018-07-30 00:11:02 +08:00
Andreas Dangel
5caee3190a [ci] more logging for pmd.github.io push, fix docs upload, fix baseline for tags 2018-07-29 13:58:12 +02:00
Andreas Dangel
c5e2660c41 Prepare next development version 2018-07-29 12:34:55 +02:00
Andreas Dangel
20f52700b4 [maven-release-plugin] prepare for next development iteration 2018-07-29 12:07:05 +02:00
Andreas Dangel
868f262c21 [maven-release-plugin] prepare release pmd_releases/6.6.0 pmd_releases/6.6.0 2018-07-29 12:06:56 +02:00
Andreas Dangel
6acd758246 Prepare pmd release 6.6.0 2018-07-29 11:59:34 +02:00
Andreas Dangel
11cc39a4af Merge branch 'pr-1263' 2018-07-29 11:33:23 +02:00
Andreas Dangel
409e69c474 Merge branch 'pr-1262' 2018-07-29 11:32:52 +02:00
Andreas Dangel
aaa50c996e Merge branch 'pr-1253' 2018-07-29 11:32:44 +02:00
Andreas Dangel
55ae5959cc Merge branch 'pr-1248' 2018-07-29 11:32:36 +02:00
Andreas Dangel
167cb97337 Fix missing full_ver in run.sh 2018-07-29 11:26:27 +02:00
Andreas Dangel
7e737b3c8a Update release notes, fix typos 2018-07-29 10:39:03 +02:00
Andreas Dangel
b79f5e93c1 Update release notes for java 11 2018-07-29 10:34:47 +02:00
Andreas Dangel
428d6d2f88 [core] "Unsupported build listener" in gradle build
Fixes #1178
2018-07-29 10:23:22 +02:00
Rafael Cortês
888824d24a Fix NullPointerException in CPPTokenizer:99
Due to `skipBlocks = true` and `skipBlocksStart` being uninitialized in `CPPTokenizer`, `maybeSkipBlocks` would always throw a NullPointerException as it is assuming that `setProperties` is always called after the constructor.
Changed `CPPLanguage` to always invoke `setProperties`, similarly to `CsLanguage`.
This only happens in programmatic invocations.
2018-07-29 09:11:15 +01:00
Andreas Dangel
499dcab9d9 [java] NPath complexity false negative due to overflow
Fixes #1226
2018-07-28 17:57:10 +02:00
Andreas Dangel
2a39c7a4d0 Fix sed script to be MacOSX compatible 2018-07-28 12:31:15 +02:00
Karl-Philipp Richter
a5a0efa1fb Use typeof in MissingSerialVersionUID
The construct

```
count(ImplementsList
[ClassOrInterfaceType/@Image='Serializable'
or ClassOrInterfaceType/@Image='java.io.Serializable']) =1
```

doesn't cover subclasses of a class or interface implementing or
extending Serializable whereas the `typeof` operator does.

close #1078
2018-07-26 18:08:07 +02:00
Andreas Dangel
407e940dd4 Fix review comments 2018-07-25 19:56:37 +02:00
Andreas Dangel
c598d3b049 Merge branch 'pr-1250' 2018-07-23 20:15:18 +02:00
Andreas Dangel
5b03f01e6f Update release notes, refs #1250 2018-07-23 20:15:08 +02:00
Andreas Dangel
fa3a985522 Use ruby 2.4.1 2018-07-23 20:14:59 +02:00
Andreas Dangel
45af47af4c Fixes #1225 [core] Error in sed expression on line 82 of run.sh
while detecting installed version of Java
2018-07-23 17:30:19 +02:00
Travis CI (pmd-bot)
90a7074d97 Update documentation
TRAVIS_JOB_NUMBER=2610.1
TRAVIS_COMMIT_RANGE=0f9bc63bfc14...0f92122d8afb
2018-07-23 15:02:12 +00:00
Andreas Dangel
0f92122d8a Merge branch 'pr-1246' 2018-07-23 16:45:18 +02:00
Andreas Dangel
e6e188f301 Add test cases for one character lambda parameters and for loop variables 2018-07-23 16:45:05 +02:00
Andreas Dangel
a726a06e17 Merge branch 'pr-1242' 2018-07-23 16:30:10 +02:00
Andreas Dangel
80ea2deb7b Add license header 2018-07-23 16:29:58 +02:00
Andreas Dangel
0ee6b54d38 Update release notes, mention new rule, refs #109, the original PR 2018-07-21 19:51:18 +02:00
Andreas Dangel
a02bfe8861 Combine the two rules into LinguisticNamingRule 2018-07-21 19:46:25 +02:00
Andreas Dangel
ede63f0bcb Introduce property booleanPrefixes 2018-07-21 19:18:34 +02:00
Andreas Dangel
beeeb74efb Simplify implementation of AttributeTypeAndNameIsInconsistent and MethodTypeAndNameIsInconsistent
Split test cases
2018-07-21 18:50:10 +02:00
BBG
f49cd01637 fix comments 2018-07-22 00:45:16 +08:00
Andreas Dangel
7a25d9a910 Checkstyle, Pmd 2018-07-21 14:26:04 +02:00
Andreas Dangel
58446a2ecd Fix runtime errors (NPE, ClassCastException, IndexOutOfBounds) 2018-07-21 14:02:25 +02:00
Arda Aslan
bd4095ed41 Added a naming rule called IsDoesNotReturnBoolean.
According to article "Linguistics Antipatterns: What They Are and How Developers Perceive Them",
a method starting with "isX" and not returning boolean introduces a code smell,
reduces maintainability mainly.

Add two linguistics codes smells. one related with methods and the other with variables (these two can be merged into 1 rule later)

Feedbacks are appreciated.
2018-07-21 12:53:31 +02:00
Clément Fournier
8b07d09dbf Fix main split pane color 2018-07-20 20:50:20 +02:00
BBG
3f030a2784 upload baseline of pmdtester automatically 2018-07-21 00:53:39 +08:00
Andreas Dangel
369c3fa0a0 Fix rule reference 2018-07-20 15:33:41 +02:00
Andreas Dangel
43ebc4c3c1 Update release notes - new rule ForLoopNaming (plsql-codestyle) 2018-07-20 15:28:27 +02:00
Andreas Dangel
be76e2809f [plsql] Extend CursorForLoopNaming and rename to ForLoopNaming
It covers now both cursor for loops and index for loops.
2018-07-20 15:26:50 +02:00
Andreas Dangel
b088c20a96 [plsql] CursorForLoopNaming: Add parameters "allowSimpleLoops" and "pattern" 2018-07-20 15:26:50 +02:00
Andreas Dangel
adb7a42494 Update release notes, fixes #681 2018-07-20 15:26:48 +02:00