Evgeny Mandrikov
64f77ae873
Mark org.sonar.duplications.cpd.CPD as deprecated
2012-02-18 08:10:39 +04:00
Evgeny Mandrikov
0aa289a592
Fix some quality flaws
2012-02-17 13:46:50 +04:00
Evgeny Mandrikov
f3141d167b
Enforce that parameters are non null by default in sonar-duplications
2012-02-16 12:17:32 +04:00
Evgeny Mandrikov
e0589ad21f
Remove deprecated and unused code
2012-02-13 11:42:13 +04:00
Evgeny Mandrikov
ec02a8faea
Fix some quality flaws
2012-02-06 16:27:33 +01:00
Evgeny Mandrikov
b2d711231c
Cleanup build log for sonar-duplications by redirecting test output to file
2012-02-04 02:00:55 +04:00
Evgeny Mandrikov
480b51e830
Fix some quality flaws
2012-02-04 01:58:31 +04:00
Evgeny Mandrikov
12552a94ee
Fix some quality flaws
2012-02-03 15:52:29 +04:00
Evgeny Mandrikov
42511df4e5
Fix violations
2012-02-02 02:19:18 +04:00
Evgeny Mandrikov
a0c122748f
SONAR-3139 Remove deprecated code, add some comments and tests
2012-01-26 23:16:14 +04:00
Evgeny Mandrikov
90a6c00024
SONAR-3181,SONAR-3139 Allow filtering by number of tokens
...
To do this each block stores two additional integers - index for first
and last token. So total size of in-memory storage has been increased.
2012-01-26 13:58:50 +04:00
Evgeny Mandrikov
ed409e8f0a
SONAR-3181,SONAR-3139 Enable cross project CPD for all languages
...
sonar.cpd.minimumTokens can't be used, because for index in database
tokens must be grouped by lines.
2012-01-24 20:33:39 +04:00
Evgeny Mandrikov
ff0901201f
Fix violations
2012-01-16 13:59:09 +04:00
Simon Brandhof
da0d012b99
Update copyright header for this new year
2012-01-10 18:27:36 +01:00
Evgeny Mandrikov
6bf81a4512
SONAR-3139 Refactor our fork of PMD CPD
...
* Replace some code by our own implementation
* Remove unused
* Reformat to conform with our conventions
2012-01-10 03:15:32 +04:00
Eric Hartmann
1235e06022
Upgrade to 2.14-SNAPSHOT
2012-01-03 18:05:27 +01:00
Evgeny Mandrikov
5f377882e3
Fix violations
2011-12-19 13:21:22 +04:00
Evgeny Mandrikov
ae5528042c
SONAR-3060 Improve new CPD algorithm
...
* Remove recursive part of algorithm to avoid StackOverflowError
* Fix violations
2011-12-15 22:26:40 +04:00
Evgeny Mandrikov
62a1cb35ea
Fix test
2011-12-14 18:29:18 +04:00
Evgeny Mandrikov
b65a688104
SONAR-3060 Refactor new CPD algorithm
...
* Fix violations
* Remove duplications
* Add Javadocs
* Method SortedListsUtils#contains now uses iterators, so doesn't
require RandomAccess list in order to work efficiently in terms of
performance.
2011-12-14 15:18:55 +04:00
Evgeny Mandrikov
a96994a584
Add couple of functional tests for CPD
2011-12-08 11:36:16 +04:00
Evgeny Mandrikov
b34960b90f
Fix violations, increase coverage
2011-12-08 06:14:38 +04:00
Evgeny Mandrikov
aef8d4f343
SONAR-3060 Use new CPD algorithm
2011-12-07 13:42:19 +04:00
Evgeny Mandrikov
f0d96c1053
SONAR-3060 Add new CPD algorithm based on suffix tree
2011-12-07 03:31:04 +04:00
simonbrandhof
20dd032042
SONAR-3052 add dependency on Guava 10
2011-12-04 20:50:44 +01:00
Evgeny Mandrikov
a07ede1780
SONAR-2819 Upgrade to PMD 4.3
...
New rules in PMD 4.3:
* DontCallThreadRun
* GuardDebugLogging
New rules in PMD 4.2.6:
* GenericsNaming
* AvoidCatchingGenericException
* AvoidLosingExceptionInformation
* AvoidLiteralsInIfCondition
* UseConcurrentHashMap
* DoNotHardCodeSDCard
2011-11-30 22:14:08 +04:00
Eric Hartmann
b313be3b64
Upgrade version to 2.13-SNAPSHOT
2011-11-09 13:26:39 +01:00
Simon Brandhof
f6f1698298
Fix build with JDK5
2011-11-03 15:49:29 +01:00
Simon Brandhof
1c87ee80ae
Fix coding violations
2011-11-03 15:34:18 +01:00
Evgeny Mandrikov
df62fc2855
SONAR-2632 Remove sonar-channel buffer restriction
...
* Add test for backward compatibility with a COBOL plugin
* Fix violations
* Simplify code
2011-10-24 10:49:42 +04:00
Dinesh Bolkensteyn
e1ecfa7d65
SONAR-2923 and SONAR-2632: Fixed some side-effect compilations error in other modules
2011-10-20 21:30:31 +02:00
Evgeny Mandrikov
24b35ccec5
CPD: add support for Java 7 - try with resource
2011-09-27 12:46:01 +04:00
Evgeny Mandrikov
438d36393d
SONAR-2782 Fix detection of false-positive duplication in case of chain of cases
2011-09-27 12:46:01 +04:00
Evgeny Mandrikov
c7c56a4d5f
SONAR-2837 Fix detection of false-positive duplication in case of initialization of multidimensional array
2011-09-27 02:07:56 +04:00
Simon Brandhof
32cb2074b7
Upgrade version to 2.12-SNAPSHOT
2011-09-16 08:55:05 +02:00
Evgeny Mandrikov
f51d791bf3
Fix violations
2011-09-12 02:26:38 +04:00
Evgeny Mandrikov
691ae00bf9
SONAR-1091 Sonar-CPD: support Java 7 (JSR334)
...
* Binary integer literals
* Underscores in numeric literals
2011-09-08 23:24:17 +04:00
Evgeny Mandrikov
ae6cd424cd
SONAR-1091 Use correct encoding during detection of duplications
2011-09-08 15:50:25 +04:00
Evgeny Mandrikov
36bcc8dbc1
SONAR-1091 Update library for detection of duplicates
2011-09-07 15:41:46 +04:00
Simon Brandhof
4d40b9f538
Revert pom versions to 2.11-SNAPSHOT after merging branch 2.10
2011-08-15 15:53:48 +02:00
Simon Brandhof
9b84ef3a74
[maven-release-plugin] prepare for next development iteration
2011-08-09 11:25:45 +02:00
Simon Brandhof
0196b85b64
[maven-release-plugin] prepare release 2.10-RC2
2011-08-09 11:25:44 +02:00
Simon Brandhof
dbe4d28634
Upgrade version to 2.11-SNAPSHOT
2011-08-05 17:55:10 +02:00
Simon Brandhof
12160e3279
Upgrade version to 2.10-SNAPSHOT
2011-07-11 15:35:49 +02:00
simonbrandhof
43af9284ca
temporary reverting to 2.9-SNAPSHOT
2011-07-10 12:05:56 +02:00
simonbrandhof
0a779207ed
Upgrade to version 2.10-SNAPSHOT
2011-07-10 09:18:17 +02:00
simonbrandhof
6642d7a799
Upgrade to version 2.9-SNAPSHOT
2011-05-13 16:58:27 +02:00
simonbrandhof
a44fa2a2fa
Temporarily downgrade version to 2.8-SNAPSHOT
2011-05-10 13:06:06 +02:00
simonbrandhof
ab5551a5b0
Upgrade version to 2.9-SNAPSHOT
2011-05-09 23:15:11 +02:00
simonbrandhof
92a1f54c7d
Release 2.8-RC2
2011-05-09 20:10:26 +02:00
Evgeny Mandrikov
b62c9d36cb
Prepare for next development iteration
2011-05-03 14:28:12 +04:00
Evgeny Mandrikov
30b627b44c
Prepare 2.8-RC1
2011-05-03 14:26:25 +04:00
simonbrandhof
9380e275b3
Fix some violations
2011-04-01 23:56:50 +02:00
simonbrandhof
4eecf910ac
Upgrade master to version 2.8-SNAPSHOT
2011-03-29 17:03:48 +02:00
simonbrandhof
349b260a5e
[maven-release-plugin] prepare for next development iteration
2011-03-28 17:50:26 +02:00
simonbrandhof
75bfca1251
[maven-release-plugin] prepare release 2.7-RC3
2011-03-28 17:50:24 +02:00
simonbrandhof
d4ae5228bb
Fix coding violations
2011-03-27 23:43:19 +02:00
simonbrandhof
2b560c35ab
fix coding violations
2011-03-27 21:26:17 +02:00
simonbrandhof
22d26707d7
[maven-release-plugin] prepare for next development iteration
2011-03-22 09:59:51 +01:00
simonbrandhof
22d7301ef4
[maven-release-plugin] prepare release 2.7-RC1
2011-03-22 09:59:50 +01:00
simonbrandhof
ab2346e6bb
[maven-release-plugin] prepare for next development iteration
2011-03-18 15:04:18 +01:00
simonbrandhof
bf5b998ad9
[maven-release-plugin] prepare release 2.7-RC2
2011-03-18 15:04:17 +01:00
simonbrandhof
09349ffce7
[maven-release-plugin] prepare for next development iteration
2011-02-18 10:38:10 +01:00
simonbrandhof
46f1aa681e
[maven-release-plugin] prepare release 2.6
2011-02-18 10:38:08 +01:00
simonbrandhof
a14a0644c2
Upgrade copyright headers
2011-02-04 10:42:21 +01:00
simonbrandhof
4daa310730
Add profile to check copyright headers + fix some badly formatted headers
2011-01-31 01:13:14 +01:00
simonbrandhof
b69ae6b7c4
[maven-release-plugin] prepare for next development iteration
2011-01-28 15:02:59 +01:00
simonbrandhof
ec0d6d92ad
[maven-release-plugin] prepare release 2.6-M1
2011-01-28 15:02:57 +01:00
simonbrandhof
724f39d4e3
[maven-release-plugin] prepare for next development iteration
2011-01-05 13:36:51 +00:00
simonbrandhof
1f5228db18
[maven-release-plugin] prepare release 2.5-RC1
2011-01-05 13:36:27 +00:00
simonbrandhof
089ec1f5bf
revert trunk version to 2.5-SNAPSHOT
2010-12-27 00:18:51 +00:00
simonbrandhof
e1240d0537
[maven-release-plugin] prepare release 2.5
2010-12-24 16:00:51 +00:00
simonbrandhof
39f78c6dc0
[maven-release-plugin] prepare for next development iteration
2010-11-09 16:19:27 +00:00
simonbrandhof
8602aa58e3
[maven-release-plugin] prepare release 2.4-RC1
2010-11-09 16:18:52 +00:00
simonbrandhof
2d3b588b4a
[maven-release-plugin] prepare for next development iteration
2010-10-12 10:47:11 +00:00
simonbrandhof
b791b9aac2
[maven-release-plugin] prepare release 2.3
2010-10-12 10:46:47 +00:00
simonbrandhof
7361c326e5
[maven-release-plugin] prepare for next development iteration
2010-10-05 19:00:30 +00:00
simonbrandhof
6c36be2a02
[maven-release-plugin] prepare release 2.3-RC2
2010-10-05 19:00:02 +00:00
simonbrandhof
a512de3bbd
upgrade trunk to 2.4-SNAPSHOT
2010-09-30 17:35:41 +00:00
simonbrandhof
49130adac6
[maven-release-plugin] prepare for next development iteration
2010-09-30 16:09:53 +00:00
simonbrandhof
293e51c2af
[maven-release-plugin] prepare release 2.3-RC1
2010-09-30 16:09:27 +00:00
fmallet
4722581dd3
fix SONAR-1774 : The AbstractTokenizer class has been removed from the Sonar source code as the Sonar implementation didn't provide more functionalities than the PMD-CPD's one.
2010-09-09 09:20:08 +00:00
simonbrandhof
aeadc1f912
SONAR-236 remove deprecated code from checkstyle plugin + display default value of rule parameters in Q profile console
2010-09-06 14:08:06 +00:00