发布于 2015-11-03 00:58:33 | 153 次阅读 | 评论: 0 | 来源: 网友投递
SonarQube代码质量管理平台
Sonar是一个用于代码质量管理的开源平台,用于管理源代码的质量,可以从七个维度检测代码质量通过插件形式,可以支持包括java,C#,C/C++,PL/SQL,Cobol,JavaScrip,Groovy等等二十几种编程语言的代码质量管理与检测
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.
详细改进请看发行说明。
下载:sonarqube.org。
Sonar (SonarQube)是一个开源平台,用于管理源代码的质量。Sonar 不只是一个质量数据报告工具,更是代码质量管理平台。支持的语言包括:Java、PHP、C#、C、Cobol、PL/SQL、Flex 等。
主要特点:
代码覆盖:通过单元测试,将会显示哪行代码被选中
改善编码规则
搜寻编码规则:按照名字,插件,激活级别和类别进行查询
项目搜寻:按照项目的名字进行查询
对比数据:比较同一张表中的任何测量的趋势