Commit Graph

417 Commits

Author SHA1 Message Date
simonbrandhof
bf5b998ad9 [maven-release-plugin] prepare release 2.7-RC2 2011-03-18 15:04:17 +01:00
simonbrandhof
78cc08630e Improve new coverage widget 2011-03-16 18:53:23 +01:00
Evgeny Mandrikov
0fcb0cf0bb SONAR-2241 Remove Checkstyle rule "Illegal Instantiations" from "Sun Checks" profile 2011-03-15 12:48:02 +03:00
simonbrandhof
f543653d4f SONAR-2251 Unstable state of violations when stopping a build 2011-03-14 16:42:49 +01:00
simonbrandhof
0218d8ad0f declare time machine barriers to NewCoverage decorator 2011-03-11 16:03:30 +01:00
Freddy Mallet
217733b989 remove useless .gitignore file 2011-03-11 12:57:29 +01:00
Freddy Mallet
e04578cf0d fix SONAR-2267 : The "duplicated blocks" measure on each file is not correct when a duplication involved more than two blocks 2011-03-11 12:26:02 +01:00
Freddy Mallet
26803e5554 fix SONAR-2267 : The "duplicated blocks" measure on each file is not correct when a duplication involved more than two blocks 2011-03-11 12:26:02 +01:00
simonbrandhof
4be8b53738 SONAR-2218 coverage of new code must be computed even if there are no previous analysis 2011-03-08 18:15:49 +01:00
simonbrandhof
914d329ad4 SONAR-2218 improve UI 2011-03-08 13:23:38 +01:00
Evgeny Mandrikov
5434327a2c Fix violations reported by Sonar Eclipse 2011-03-08 04:40:56 +03:00
simonbrandhof
6166547c9a SONAR-2218 add drilldown on new lines to cover + add period select-box on measures drilldown 2011-03-07 16:59:29 +01:00
simonbrandhof
3f1a93b472 SONAR-2218 improve rendering of coverage widget 2011-03-07 15:09:59 +01:00
simonbrandhof
25bce57233 do not run parallel unit tests in findbugs plugin 2011-03-07 14:07:23 +01:00
Evgeny Mandrikov
9e9db32110 sonar-plugin-api must be declared with scope provided in plugins
* It prevents embedding additional dependencies.
2011-03-04 21:43:11 +03:00
simonbrandhof
cf20a05a05 remove the core GWT components which are replaced by Ruby on Rails pages 2011-03-04 17:38:45 +01:00
simonbrandhof
c14fe19979 SONAR-2218 support GWT extensions + improve filters 2011-03-03 16:39:41 +01:00
Evgeny Mandrikov
2a57b97775 SONAR-2213 Cobertura: initializer should set correct report path 2011-03-01 16:27:32 +03:00
simonbrandhof
10b2eb4515 SONAR-2218 improve drilldown page in order to display variations 2011-03-01 14:02:53 +01:00
simonbrandhof
98b06f726f SONAR-2218 display coverage of changed code in widget 2011-02-28 18:53:33 +01:00
simonbrandhof
f024f9b98e SONAR-2246 Cobertura: wrong uncovered lines and uncovered conditions on anonymous classes 2011-02-28 18:33:17 +01:00
simonbrandhof
1ec6704480 SONAR-2218 compute coverage on new/changed code 2011-02-28 18:05:03 +01:00
simonbrandhof
dc45bd7b11 SONAR-2218 aggregate variations of coverage of changed code + add sample of widget 2011-02-27 23:50:12 +01:00
simonbrandhof
0616121414 SONAR-2218 add NewCoverageDecorator + add DateUtils to API 2011-02-25 18:16:54 +01:00
simonbrandhof
148e8d9152 Remove System.out 2011-02-25 13:33:20 +01:00
simonbrandhof
70961f0058 API: fix CoverageMeasuresBuilder for Cobertura 2011-02-25 11:44:52 +01:00
simonbrandhof
df06580805 SONAR-2238 Remove the metric "uncovered_complexity_by_tests" 2011-02-25 07:44:16 +01:00
simonbrandhof
d4beaec498 SONAR-2218 Add CoverageMeasuresBuilder to API + add Metric.Builder, first step to get an immutable Metric class 2011-02-25 07:44:16 +01:00
Evgeny Mandrikov
734ad36b7c SONAR-2231 Don't use module sonar-deprecated in core plugins
* Create new implementation of PmdViolationsXmlParser for sonar-pmd-plugin

* Remove unused method in sonar-findbugs-plugin and remove dependency

* Just remove dependency in sonar-squid-java-plugin
2011-02-23 22:34:53 +03:00
simonbrandhof
c92dee42e2 SONAR-2189 Remove the component SquidSearch 2011-02-21 11:51:32 +01:00
Evgeny Mandrikov
8f9f400c74 SONAR-2145 Remove Clover from the Sonar Core 2011-02-21 01:33:28 +03:00
Evgeny Mandrikov
ede312df67 SONAR-2193 Pattern matching should work in case if pattern ends on "/**" 2011-02-19 02:16:01 +03: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
78191d8da1 LCOM4 must not be 1 when bytecode is not available 2011-02-11 15:02:55 +01:00
simonbrandhof
12c2ca81ed Improve code: fix some violations 2011-02-10 00:17:18 +01:00
simonbrandhof
70e645356d Fix some violations 2011-02-10 00:08:27 +01:00
Evgeny Mandrikov
964f6ca40e Fix loading of findbugs plugins 2011-02-09 19:05:30 +03:00
simonbrandhof
573b817c5a SONAR-2180 NoClone Checkstyle module in error 2011-02-09 10:36:58 +01:00
simonbrandhof
5c22f66a21 SONAR-2144 Cardinality of checkstyle rule Type Name should be updated to multiple 2011-02-08 00:07:25 +01:00
simonbrandhof
a33de076ed Delete parameters ignoreModifier and ignoreName from the Checkstyle "Abstract Class Name". They are not supported in the Checkstyle version used by sonar. 2011-02-08 00:02:44 +01:00
simonbrandhof
7b3fe3882c SONAR-2167 Improve descriptions and default values of Checkstyle naming convention rules
SONAR-2168 Add the parameter tabWidth to the Checkstyle Indentation rule
2011-02-07 23:44:19 +01:00
simonbrandhof
c97c954dc1 Rename Scopes.TYPE to Scopes.PROGRAM_UNIT 2011-02-07 22:32:45 +01:00
simonbrandhof
a34a3671bd Remove useless purge 2011-02-07 17:40:42 +01:00
Evgeny Mandrikov
c1904d3f5f Add MavenInitializer
* Configures Java versions and encoding of sources based on Maven POM
2011-02-07 15:34:28 +03:00
Evgeny Mandrikov
bbfce79727 SONAR-2172: New extension point - Initializer
* Rename AbstractInitializer to Initializer

* Execute Initializers before Sensors
2011-02-07 15:22:26 +03:00
Evgeny Mandrikov
3b51f04bd4 SONAR-2172: New extension point - AbstractInitializer
* Mark interface DependsUponMavenPlugin by annotation
  SupportedEnvironment with value "maven"

* Extract CoberturaMavenInitializer from CoberturaSensor

* Extract CloverMavenInitializer from CloverSensor
2011-02-05 02:58:16 +03:00
simonbrandhof
04407c6b38 SONAR-2171 Do not compute LCOM4/RFC measures when bytecode is not available 2011-02-04 19:08:27 +01:00
simonbrandhof
dada59ec30 SONAR-2171 Do not compute LCOM4/RFC measures when bytecode is not available 2011-02-04 19:08:27 +01:00
Evgeny Mandrikov
547e832314 Replace enum Environment by class EnvironmentInformation
* Each environment should provide key and version

* Plugins for Maven 2.x and Maven 3.x have same key "Maven"
  and provide a real version of Maven
2011-02-04 19:48:41 +03:00
simonbrandhof
ea8d694355 SONAR-2155 Resource filters are ignored in RFC/LCOM4 distributions of Java projects 2011-02-04 15:06:21 +01:00
simonbrandhof
a14a0644c2 Upgrade copyright headers 2011-02-04 10:42:21 +01:00
simonbrandhof
197fef2623 SONAR-2165 Cardinality of checkstyle rule Local Variable Name should be updated to multiple 2011-02-03 18:56:30 +01:00
simonbrandhof
e46c3b1ca5 SONAR-2166 Cardinality of checkstyle rule Member Name should be updated to multiple + replace the deprecated attribute 'priority' by a node 2011-02-03 17:54:47 +01:00
Evgeny Mandrikov
b054b6a871 SONAR-2161: Normalize Java version for PMD 2011-02-02 15:21:55 +03:00
simonbrandhof
bab46aebf9 Move calculation of accessors from squid to sonar 2011-02-01 14:17:54 +01:00
simonbrandhof
936f7f5f75 SONAR-2159 The total classes used in complexity distribution is different than the number of classes 2011-02-01 10:57:28 +01:00
Evgeny Mandrikov
ee6efa4035 SONAR-1280: Fix unit test 2011-02-01 03:03:45 +03:00
Evgeny Mandrikov
4bbc0f515d SONAR-1280: Add experimental Findbugs rules 2011-02-01 02:10:51 +03:00
simonbrandhof
4daa310730 Add profile to check copyright headers + fix some badly formatted headers 2011-01-31 01:13:14 +01:00
simonbrandhof
120178b6ad Add missing copyright header 2011-01-30 23:12:01 +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
715a8ca8c9 Add some unit tests 2011-01-28 14:34:50 +01:00
simonbrandhof
b8eecc041a SONAR-2149 Resource filters are ignored in complexity distributions of Java projects
This issue implies SONAR-2153 : API: A decorator should override formulas
2011-01-28 13:18:46 +01:00
Evgeny Mandrikov
5c05c7d812 SONAR-2148: Add new properties to manage level of Java language
* Use sonar-java-api in sonar-pmd-plugin and sonar-clover-plugin
2011-01-28 11:27:41 +03:00
Evgeny Mandrikov
c2f90c84e3 SONAR-2126: Change API to work with file system of a project
* Use language keys instead of objects.

* ProjectFileSystem now BatchComponent, so DefaultProjectFileSystem
  uses benefits from injections and some old code was removed from
  it to improve immutability.

* Small performance improvement for DefaultInputFile.
2011-01-27 19:40:21 +03:00
simonbrandhof
1d97046d48 Fix Squid plugin to correctly build the relation between a Java file and its package 2011-01-25 19:26:43 +01:00
simonbrandhof
e7de7db7a3 Improve backward-compatibility when adding data to a non-indexed resource 2011-01-25 19:26:43 +01:00
simonbrandhof
27a3f17cff fix unit test of SquidPluginTest 2011-01-24 19:25:02 +01:00
simonbrandhof
878cec92f8 SONAR-791 When the source directory is not exactly the java package root, Sonar should stop the analysis 2011-01-24 19:25:01 +01:00
simonbrandhof
eb9462d600 SONAR-2130 deprecate the component SquidSearch 2011-01-24 19:25:01 +01:00
simonbrandhof
08b5a72264 remove unused class from squid java plugin 2011-01-23 20:16:02 +01:00
simonbrandhof
9eaac602f7 SONAR-1526 ResourceFilters are not used by Squid 2011-01-21 17:55:47 +01:00
simonbrandhof
67245675f1 SONAR-2130 Publish measures of Java methods on resource tree 2011-01-21 17:55:20 +01:00
simonbrandhof
8015cc71f9 SONAR-2130 Publish measures of Java methods on resource tree 2011-01-21 14:32:47 +01:00
simonbrandhof
08cb4444e0 SONAR-2127 API: do not automatically create hierarchy of resource tree 2011-01-21 14:32:24 +01:00
simonbrandhof
5b4a5f39b3 create the module sonar-java-api dedicated to Java support 2011-01-19 22:49:50 +01:00
Evgeny Mandrikov
231a993de1 SONAR-1514: Add support for a new Ant task to analyze projects
* Add new environment - Ant.

* Introduce new component (Reactor) in order to break dependency on MavenSession.

* Add annotation SupportedEnvironment and corresponding check to BatchPluginRepository.
  To allow specify in which environments BatchExtension should be active.

* Use this new annotation to disable MavenDependenciesSensor in Ant environment.
2011-01-18 15:11:11 +03:00
Evgeny Mandrikov
5e5b906bd3 Simplify configuration of dev GWT modules
* Inherit settings from original module

* Introduce reusable module org.sonar.SonarDev
2011-01-17 17:49:18 +08:00
simonbrandhof
dff2f68c8d optimizing GWT compilation to speed up build in dev environments 2011-01-13 19:15:06 +01:00
simonbrandhof
c34c1bc926 merge 2.5: fix tracking of violations when message contains whitespace or is too long - fix a bug + add unit tests 2011-01-13 18:15:57 +01:00
simonbrandhof
f42b25885b merge 2.5-RC2: fix random execution of NewViolationsDecorator 2011-01-12 15:03:23 +01:00
Evgeny Mandrikov
0525ed3ef7 merge 2.5-RC2: SONAR-1760: Support the annotation "@SuppressWarnings" at class level 2011-01-11 15:33:12 +03:00
simonbrandhof
c8d150808c merge 2.5-RC2: missing close of input stream 2011-01-10 18:46:53 +01:00
simonbrandhof
64438bb953 merge 2.5-RC2: save SNAPSHOTS.VARIATION_x columns on views 2011-01-10 16:23:06 +01:00
Jason Bennett
a8a68cacea SONAR-1481: Allow Findbugs extensions
Apply contributed patch
2011-01-06 13:42:25 +03: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
6631736117 fix regression issue in violations drilldown: reload sources when selecting a new file 2011-01-04 09:05:18 +00:00
simonbrandhof
a6e39adc08 Violations viewer : do not display the empty period filter 2011-01-03 15:44:23 +00:00
simonbrandhof
cd7e660498 Violations viewer : keep the rule selected in drilldown 2011-01-03 14:42:18 +00:00
simonbrandhof
96dcc113d6 dbcleaner plugin: Change default value for cutoff beyond which we suppress all snapshots to 60 months 2010-12-29 21:48:07 +00:00
simonbrandhof
089ec1f5bf revert trunk version to 2.5-SNAPSHOT 2010-12-27 00:18:51 +00:00
simonbrandhof
f86a62e3c2 Move timemachine components from core plugin to batch + do not depend on Snapshot in PastSnapshotLoader components + fix NPE when calculating variations on measures that are still not persisted 2010-12-27 00:14:52 +00:00
simonbrandhof
871954095d do not display skipped unit tests when value is 0 2010-12-26 18:03:15 +00:00
simonbrandhof
4d72d5b193 fix whitespaces in complexity widget 2010-12-26 18:02:14 +00:00
simonbrandhof
e1240d0537 [maven-release-plugin] prepare release 2.5 2010-12-24 16:00:51 +00:00
simonbrandhof
07eff778cd [maven-release-plugin] prepare branch 2.5 2010-12-24 16:00:09 +00:00
simonbrandhof
695e788625 improve labels of diff views 2010-12-24 15:37:41 +00:00