红联Linux门户
Linux帮助

SonarQube 5.2发布,代码质量管理平台

发布时间:2015-11-03 09:11:47来源:红联作者:empast
SonarQube 5.2 发布,此版本主要新特性和值得关注的改进如下:

Scanners (SQ Runner, Maven, Gradle, Ant, MSBuild Runner, Jenkins, …) don’t have access to the database anymore. This feature is the biggest change and it has several consequences:

This improves performance, security and reliability of the scanners

A big part of what scanners used to do has been moved to server-side and is now processed asynchronously.

Another important consequence: SonarQube plugins that currently do some kind of data manipulation during the analysis will probably have to be rewritten.

Because more processing is done on server-side, more information is available to monitor and understand what’s going on in SonarQube

Report processing logs are also available from the web application

The page is available at project administration level too

Server logs are accessible from the “System” page, and it’s possible to dynamically change the log level to help debug some issues

The former “Analysis Reports” page has been renamed “Background Tasks” and redesigned to offer far more features

More features are available to better manage issues

Support for more precise issue location and multiple location (this requires language plugins to provide the information)

The Issues page can be displayed either in “issue count” or in “technical debt amount”

New “My New Issues” notification that tells what’s relevant to you only

Possibility to define the default assignee on a project - for every new issue that SonarQube could not automatically assign based on the SCM information

Issue filters can now be displayed in a generic widget that shows the distribution of issue on a specific axis

The Quality Profile page and most global administration pages have been rewritten

UI/UX is more consistent

This also means that web services for those domains are available - for instance to manage users, groups, permissions, …etc.

Some features were dropped - the main ones being:

All design related features: please read SONAR-6553 to understand why.

Cross-module/project duplication: this one could actually not be rewritten in this 5.2 version, but for sure it will be reintroduced in next release.

And obviously, there are plenty of bug fixes, improvements and other smaller new features not listed here.

Sonar (SonarQube)是一个开源平台,用于管理源代码的质量。Sonar 不只是一个质量数据报告工具,更是代码质量管理平台。支持的语言包括:Java、PHP、C#、C、Cobol、PL/SQL、Flex 等。

开源中国代码质量管理系统 -> http://sonar.oschina.net/

主要特点:

代码覆盖:通过单元测试,将会显示哪行代码被选中

改善编码规则

搜寻编码规则:按照名字,插件,激活级别和类别进行查询

项目搜寻:按照项目的名字进行查询

对比数据:比较同一张表中的任何测量的趋势

软件详情:https://jira.sonarsource.com/jira/secure/ReleaseNote.jspa?projectId=10930&version=11629

下载地址:http://www.sonarqube.org/downloads/

来自:开源中国社区
文章评论

共有 0 条评论