24af109454
Merge branch 'master' into pr-2560
2020-07-16 13:17:45 +02:00
693c870f28
[java] LawOfDemeter - add test cases
2020-07-16 13:12:17 +02:00
a60615f542
[java] AvoidInstantiatingObjectsInLoopsRule - add test case for fixed FN
...
By changing this rule to use rule chain, this FN for anonymous classes
has been fixed as well.
2020-07-16 10:39:30 +02:00
cc408d2876
[java] AvoidInstantiatingObjectsInLoopsRule - fix false negative
2020-07-13 20:00:46 +02:00
c5364a81f8
[java] Fix and simplify AvoidInstantiatingObjectsInLoopsRule
2020-07-09 18:55:10 +02:00
e48489450f
[java] Add test for #2207 : AvoidInstantiatingObjectsInLoops false positives
2020-07-09 18:54:53 +02:00
8766d54a07
[java] Fix and simplify UseStringBufferForStringAppendsRule
2020-07-09 16:08:30 +02:00
6f6f87c7dc
[java] Add test for #1736 : UseStringBufferForStringAppends false positive
2020-07-09 15:21:36 +02:00
e6c32ecbaa
Update UseStringBufferForStringAppendsRule.java
2020-07-09 15:12:32 +02:00
b782575951
Update AvoidInstantiatingObjectsInLoopsRule.java
2020-07-09 15:12:32 +02:00
6cff647681
fix issue #2207
2020-07-09 15:11:03 +02:00
f5ccc94130
fix issue #1736
2020-07-09 15:11:00 +02:00
11a0ec51fd
fix issue 1736
2020-07-09 15:10:40 +02:00
f4bf540bc3
[java] Remove usages of DummyJavaNode
2020-07-02 09:48:23 +02:00
95d8e80c1b
[maven-release-plugin] prepare for next development iteration
2020-06-27 11:31:27 +02:00
a219b2e1be
[maven-release-plugin] prepare release pmd_releases/6.25.0
2020-06-27 11:31:16 +02:00
acbbbee685
Merge branch 'pr-2608'
...
[apex][plsql][java] Deprecate base rule classes #2608
2020-06-26 18:01:30 +02:00
9508a92c2b
[java] Change rule priority of new rules to 3
2020-06-22 19:34:58 +02:00
6fded20178
Merge branch 'master' into perf-UseIOStreamsWithApacheCommonsFileItem
2020-06-22 19:32:29 +02:00
ee8d77bf09
Merge branch 'master' into perf-UseStringBufferForStringAppends
2020-06-21 17:58:06 +02:00
75146a06bf
Merge branch 'master' into perf-InefficientStringBuffering
2020-06-21 17:50:29 +02:00
ae2b481aa2
Merge branch 'master' into perf-AvoidCalendarDateCreation
2020-06-21 17:42:25 +02:00
f6644c0eb0
[java] Deprecate overly specific base rule classes
...
Fixes #971
2020-06-20 11:54:55 +02:00
26cfd347fd
Merge branch 'master' into perf-UseStringBufferForStringAppends
2020-06-20 11:29:11 +02:00
4b494899bf
[java] UseStringBufferForStringAppends: fix false positives
...
Fix false positives with field assignment and shadowing parameters
2020-06-20 10:50:31 +02:00
534bfe3c55
Merge branch 'pr-2572'
...
[cpd] Allow CPD tests based on a text dump #2572
2020-06-18 20:09:58 +02:00
0f06f5132a
Merge branch 'pr-2593'
...
[java] NPathComplexity should mention the expected NPath complexity #2593
2020-06-18 15:09:35 +02:00
fd63c97d33
[java] NPathComplexityRule: Use String.valueOf consistently
2020-06-18 15:07:00 +02:00
ca44ca3964
Merge branch 'pr-2557'
...
[java] UseProperClassLoader can not detect the case with method call … #2557
2020-06-18 15:03:43 +02:00
5579ddc21a
[java] UseStringBufferForStringAppends: add good example
2020-06-18 14:48:34 +02:00
dda76be8ae
[java] UseStringBufferForStringAppends: fix false negative with fields
...
And also fix false positive when concatenation is local to each
for-loop iteration.
Test cases originally from #1932
Author: jborgers <jborgers@jpinpoint.com >
2020-06-18 14:37:47 +02:00
f1d46714a5
[java] InefficientStringBuffering: fix another ternary false positive
2020-06-18 12:10:36 +02:00
4feb44b373
[java] AvoidCalendarDateCreation: fix more false positives
2020-06-18 11:58:37 +02:00
93930c40fb
Merge branch 'master' into perf-AvoidCalendarDateCreation
2020-06-18 11:13:55 +02:00
f1400e37f7
[java] AvoidCalendarDateCreation - fix false positives
2020-06-18 11:11:15 +02:00
1e986ed793
[java] Fix false positive for AppendCharacterWithChar and InefficientStringBuffering
...
Also make both rules use the rule chain.
2020-06-18 10:28:12 +02:00
8e47ed3188
Merge branch 'master' into cpd-text-comp
2020-06-17 20:00:50 +02:00
ca0f6535a4
Merge branch 'pr-2573'
...
[java] DefaultPackage: Allow package default JUnit 5 Test methods #2573
2020-06-15 20:26:04 +02:00
62c5ebe482
Merge branch 'issue-2545'
2020-06-15 17:46:11 +02:00
527b75ceb4
Merge branch 'master' into issue-2545
2020-06-15 17:42:27 +02:00
2b19527649
Change property name to be camelCase
2020-06-15 17:41:30 +02:00
5706dbc4b8
fix issue #2570 , add information about expected NPath complexity to rule violation message
2020-06-14 22:42:51 +03:00
b8e9ff19b2
[java] Fix rules InefficientStringBuffering and refactor existing rules
...
Rules affected additionally: AppendCharacterWithChar,
ConsecutiveLiteralAppends, InsufficientStringBufferDeclaration
Deprecate InefficientStringBuffering::isInStringBufferOperation
2020-06-14 12:59:06 +02:00
18191a1814
[java] Allow package default JUnit 5 Test methods
...
JUnit 5 allows test methods to be default / package scoped.
2020-06-13 23:19:51 -04:00
9fc15f0b91
Remove test
...
This is already tested in SourceCodeTest in pmd-core
2020-06-13 23:34:00 +02:00
da371182aa
Convert Go tests
2020-06-13 22:00:58 +02:00
0d23c04c1b
Check-in reference files
2020-06-13 21:47:49 +02:00
6ff4a1c4d4
Rename test file
2020-06-13 21:37:47 +02:00
344d02600c
Convert java tests
2020-06-13 21:09:31 +02:00
67cca2a123
[java] Add test cases for InefficientStringBuffering
...
Originally from #1932
Author: jborgers <jborgers@jpinpoint.com >
2020-06-13 20:00:51 +02:00