Commit Graph

417 Commits

Author SHA1 Message Date
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
simonbrandhof
c148a77de1 log a warning when period properties are not valid 2010-12-23 16:41:08 +00:00
simonbrandhof
3036e03d27 the violations tab must reuse the period selected in violations drilldown 2010-12-23 11:34:26 +00:00
simonbrandhof
2e69f5a3c5 forgot to declare the PurgeDependencies component 2010-12-23 10:16:22 +00:00
simonbrandhof
6e7dacd3a8 update labels of variation select boxes 2010-12-23 00:15:40 +00:00
simonbrandhof
34094526ec minor : change the RSS feed icon 2010-12-22 00:11:45 +00:00
simonbrandhof
6d5308e5a5 SONAR-1941 fix tracking of violations since previous analysis 2010-12-21 22:45:37 +00:00
Godin
e667b00eee Minor fix. 2010-12-17 01:10:43 +00:00
simonbrandhof
dcbf1fc163 SONAR-1941 add a period filter on violations tab 2010-12-16 17:47:59 +00:00
simonbrandhof
a8026252cd remove ISO categories from ws-client ResourceQuery + minor improvements of GWT API 2010-12-15 18:06:13 +00:00
simonbrandhof
d75084701f SONAR-249 add span ids to html 2010-12-15 14:45:40 +00:00
simonbrandhof
fba379fa45 SONAR-2057 Move quality profile link from dashboard header to description widget 2010-12-15 14:37:42 +00:00
simonbrandhof
9e75d602fc SONAR-249 rename FILTERS.VARIATION_INDEX to FILTERS.PERIOD_INDEX + support variations in the resources web service + add IT 2010-12-15 14:35:33 +00:00
simonbrandhof
c7ca493dc4 SONAR-249 rename the SNAPSHOTS.VARIATION_xxx columns + add SNAPSHOTS.PERIODx_DATE 2010-12-15 08:28:43 +00:00
simonbrandhof
84b7c5e10a Do not keep DSM measure in cache 2010-12-15 06:52:12 +00:00
simonbrandhof
00a21e0a65 Do not keep DSM measure in cache 2010-12-15 06:51:30 +00:00
simonbrandhof
fe0b0a7a4b SONAR-1956 improve filters in order to display variations 2010-12-10 13:37:09 +00:00
simonbrandhof
9be370d0f7 fix bug in SONAR-1729 2010-12-10 12:54:25 +00:00
simonbrandhof
eecf9fb412 do not display big trend icons 2010-12-09 17:44:25 +00:00
simonbrandhof
917a1d795b SONAR-249 define default values of periods 2010-12-09 13:14:21 +00:00
simonbrandhof
f471072173 SONAR-1729 Violations decorator should test if the measure exist before saving something 2010-12-09 13:13:07 +00:00
Godin
85ad745aae SONAR-1809: Export / import alerts attached to a quality profile 2010-12-08 19:22:18 +00:00
simonbrandhof
b899ff0966 SONAR-1941 improve the select box of periods 2010-12-08 16:29:52 +00:00
Godin
74c4ac9a4a Deprecate Rule.setPluginName() , Rule.getPluginName() and related stuff, because was replaced by repositoryKey 2010-12-08 13:45:25 +00:00
simonbrandhof
72d3b0a889 SONAR-1937 violations tab : display violation age in days to current date 2010-12-08 13:23:18 +00:00
simonbrandhof
4a7eae13c5 SONAR-1937 fix calculation of new_violations : compare to a date instead of a snapshot 2010-12-08 12:50:28 +00:00
Godin
7fc9f66252 SONAR-1829: Use severity instead of priority 2010-12-07 17:42:40 +00:00
simonbrandhof
01e310b419 SONAR-1450 log comparison dates at batch startup + improve the algorithm of periods in number of days 2010-12-07 16:58:58 +00:00
simonbrandhof
0cd519b35d SONAR-1937 add the field 'age' to violations web service + display the select box to filter violations by period 2010-12-07 16:17:50 +00:00
Godin
c1cfffea20 SONAR-1829: Use severity instead of priority 2010-12-07 16:12:03 +00:00
Godin
b09f170fa5 SONAR-1829: Use severity instead of priority 2010-12-07 16:02:48 +00:00
simonbrandhof
b0aaefba85 SONAR-1450 measure 'new_violations' is missing on rules and packages/projects + do not calculate new violations on unit tests (would be always 0) 2010-12-07 13:38:58 +00:00
simonbrandhof
e7f28d7e03 SONAR-2036 Violations widget: do not display bar charts when no violations 2010-12-07 00:27:43 +00:00
simonbrandhof
e5793dc646 SONAR-2032 Delete the measures on metric 'violations' and rule priority 2010-12-06 22:14:24 +00:00
Godin
0dccd3182e SONAR-2011: Instead of deprecated project.getPom() use injected MavenProject in ProjectLinksSensor 2010-12-06 17:29:41 +00:00
Godin
abda43912a Fix typos 2010-12-06 16:25:47 +00:00
Godin
826316807d SONAR-2031: Remove the feature "reuse configuration" of the plugins Checkstyle and PMD 2010-12-06 16:23:59 +00:00
Godin
2728a4dacd Improve ViolationsDecoratorTest 2010-12-06 15:48:20 +00:00
Godin
385c78d203 Add unit tests for NewViolationsDecorator 2010-12-06 15:33:53 +00:00
Godin
def5c589d4 NewViolationsDecorator :
* Fix bug
* Add unit tests
2010-12-06 15:25:47 +00:00
simonbrandhof
c5749a9675 SONAR-249 add 2 periods for variation values + rename SNAPSHOT.VAR_xxx columns + fix saving of dependencies 2010-12-06 14:12:57 +00:00
Godin
ca79bd72bc Fix metric name 2010-12-06 14:05:58 +00:00
Godin
c3e3df59ac Improve performance of NewViolationsDecorator 2010-12-06 14:03:32 +00:00
Godin
5fc0fb0a84 NewViolationsDecorator should count new violations by priority and by rule 2010-12-06 13:41:41 +00:00
Godin
73c870d39a SONAR-1450: Don't do anything in ViolationPersisterDecorator if no violations for current resource 2010-12-06 11:25:14 +00:00
Godin
586297ec10 SONAR-2011:
* Deprecate Project.getPom()
* Decrease scope of dependency on maven-project from provided to test for sonar-findbugs-plugin
2010-12-06 11:15:36 +00:00
simonbrandhof
0c4c2935d3 Minor change : use Maps.newHashMap() instead of new HashMap<...>() 2010-12-06 10:39:25 +00:00
simonbrandhof
e21bc25776 SONAR-249 rename some methods of PastSnapshot so sonar can detect it's a bean 2010-12-04 19:19:40 +00:00
simonbrandhof
14271770a0 some method renaming + improve code Q 2010-12-04 17:24:22 +00:00
simonbrandhof
9934361a07 improve code Q 2010-12-04 17:17:51 +00:00
simonbrandhof
0db9c91b9a SONAR-249 add some unit tests 2010-12-04 11:26:20 +00:00
Godin
cc6224b5c9 Add missing extensions to CorePlugin 2010-12-04 01:03:21 +00:00
Godin
f9330dd6f4 SONAR-2011: Remove unused dependencies on maven-plugin-api and maven-core from sonar-findbugs-plugin 2010-12-03 22:02:24 +00:00
simonbrandhof
16d425a08d SONAR-249 support configurations by custom date or by last analysis 2010-12-03 19:20:25 +00:00
simonbrandhof
46124a16b7 SONAR-249 add the select-box to display variation periods 2010-12-03 17:51:58 +00:00
simonbrandhof
5b1b89db69 SONAR-249 correctly save the variations configuration into the table SNAPSHOTS 2010-12-03 15:28:17 +00:00
Godin
58756ad8e3 SONAR-2011: Remove dependency on maven-common-artifact-filters from sonar-plugin-api 2010-12-03 14:57:36 +00:00
Godin
555287b5a0 SONAR-1450: Prevent NPE with Natural and VB plugins 2010-12-03 13:38:45 +00:00
Godin
b24e8d9e7f Core Plugins: don't use deprecated methods, add missing license header 2010-12-03 13:14:37 +00:00
simonbrandhof
4797af9603 SONAR-249 improve some widgets + display variation of test execution time 2010-12-03 12:59:56 +00:00
Godin
ba864aa618 SONAR-1450: Remove unused methods, improve unit tests 2010-12-03 12:34:20 +00:00
Godin
f8961c4b76 SONAR-1450: Add checksum to RuleFailureModel and use it in ViolationPersisterDecorator 2010-12-03 12:00:23 +00:00
simonbrandhof
4de9f9f8e8 SONAR-2007 remove iso categories from checkstyle, pmd and findbugs 2010-12-03 11:50:44 +00:00
simonbrandhof
ef39d74467 SONAR-249 remove the annotation @SupportVariationDashboard 2010-12-03 11:35:57 +00:00
simonbrandhof
7220ec643e SONAR-249 add variations to design widgets 2010-12-03 11:30:55 +00:00
simonbrandhof
1f93d163ae SONAR-249 add variations to widgets comments, tests and complexity 2010-12-03 11:05:14 +00:00
Godin
ed8c925b4b SONAR-2007: Remove IsoCategory from Squid rules 2010-12-03 10:56:26 +00:00
Godin
a2b82f1adb SONAR-1683: Remove dependency on maven-dependency-tree from sonar-plugin-api 2010-12-03 00:48:31 +00:00
simonbrandhof
3ed6a62ad9 SONAR-249 do not hide widgets which are changed in variation view + improve ruby api to display trend icons and measure variations + support variations in the widgets rules/size 2010-12-03 00:09:06 +00:00
Godin
fcd0d57b85 Fix violations reported on Nemo. 2010-12-02 23:56:05 +00:00
Godin
3be4324b27 SONAR-1450: Show only date for violation in UI 2010-12-02 23:29:02 +00:00
Godin
52c5150f26 SONAR-1829: Replace "Priority" by "Severity" in Hotspots service 2010-12-02 23:02:07 +00:00
Godin
f05ad5850f SONAR-1450: Improve unit tests 2010-12-02 22:08:46 +00:00
Godin
d68565f7ad SONAR-1450: Fix ViolationPersisterDecorator 2010-12-02 21:16:03 +00:00
Godin
65e3e57e3e SONAR-1450: Compare violations using checksums 2010-12-02 19:27:22 +00:00
simonbrandhof
a8391cfc44 fix animal-sniffer in sonar-core-plugin 2010-12-02 17:35:04 +00:00
Godin
8c6b57e711 Add missing dependency from sonar-core-plugin to sonar-batch 2010-12-02 14:33:02 +00:00
simonbrandhof
28d0818463 remove idea file 2010-12-02 14:06:28 +00:00
simonbrandhof
625da3dc6b extract GWT components from sonar-core-plugin 2010-12-02 14:05:25 +00:00
Godin
1a51c6bf53 SONAR-1450: Extract ViolationPersisterDecorator from ViolationPersister 2010-12-02 13:52:57 +00:00
simonbrandhof
473065f87a SONAR-249 save configuration used for measure variations and new violations in the table SNAPSHOTS 2010-12-01 22:09:09 +00:00
Godin
612acd33d5 SONAR-1450: Add creation date of violation to violations tab 2010-12-01 13:38:41 +00:00
simonbrandhof
e537ea6120 SONAR-2007 Remove the useless ISO Categories + fix components page 2010-12-01 11:30:48 +00:00
Godin
0441e5cb03 SONAR-1450: Fix NPE in NewViolationsDecorator 2010-12-01 09:23:32 +00:00
Godin
0621aa8238 SONAR-1450: Add first implementation of NewViolationsDecorator 2010-12-01 00:03:43 +00:00
Godin
7fcba49070 SONAR-1450: Add first implementation of NewViolationsDecorator 2010-11-30 23:53:17 +00:00
Godin
4e10bd0c5b SONAR-1450: Add first implementation of NewViolationsDecorator 2010-11-30 23:34:59 +00:00
simonbrandhof
4334b6952b SONAR-249 add the columns SNAPSHOT.VAR_MODE_x and VAR_LABEL_x (x=1, 2 or 3) 2010-11-30 21:02:26 +00:00
Godin
1579738e5b SONAR-1450: Add support for incremental review of incoming violations 2010-11-30 15:40:42 +00:00
simonbrandhof
def12c0752 SONAR-249 add variation values to Ruby API 2010-11-30 15:19:54 +00:00
Godin
0471c891ff Fix violations reported on Nemo 2010-11-30 09:36:15 +00:00
Godin
65c771783c SONAR-1760: Improve performance of NoSonarFilterLoader 2010-11-29 22:12:51 +00:00
simonbrandhof
83b138bebb SONAR-249 add the class TimeMachineConfiguration 2010-11-29 21:00:15 +00:00
Godin
5276b9eadc Fix SquidVisitorNotifier 2010-11-29 17:45:35 +00:00
simonbrandhof
6ce6cc598f SONAR-249 improve core components to load rules and metrics 2010-11-29 17:00:54 +00:00
Godin
0c4893c83a Instead of 'bypassExclusionMechanism' use 'bypassExclusion' in CheckMessage 2010-11-29 16:43:55 +00:00
Godin
3d5765bd4b Instead of 'force' use more meaningful name 'bypassExclusionMechanism' in CheckMessage 2010-11-29 15:58:35 +00:00
Godin
f8ab1ee2e5 SONAR-1817: Squid rule to create violation on each NOSONAR tag occurence 2010-11-29 15:49:47 +00:00
simonbrandhof
984e1ff8d3 SONAR-249 decrease complexity 2010-11-29 13:33:16 +00:00
simonbrandhof
138f4ebc4f SONAR-249 add the decorator to calculate differential values of measures. 2010-11-29 09:56:20 +00:00
Godin
b9060a23e5 Don't use deprecated API 2010-11-29 01:13:12 +00:00