<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Sonar</title>
	
	<link>http://www.sonarsource.org</link>
	<description>Open Source Quality Management Platform</description>
	<lastBuildDate>Mon, 14 May 2012 12:00:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Sonar" /><feedburner:info uri="sonar" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>Sonar</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Sonar in the news</title>
		<link>http://feedproxy.google.com/~r/Sonar/~3/zEbrz5J7eeE/</link>
		<comments>http://www.sonarsource.org/sonar-in-the-news-27/#comments</comments>
		<pubDate>Thu, 10 May 2012 11:39:41 +0000</pubDate>
		<dc:creator>Olivier Gaudin</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://www.sonarsource.org/?p=6275</guid>
		<description><![CDATA[Welcome to the roundup of blog posts and pages that mentioned Sonar last month&#8230; Assessing Code Quality with Sonar By Mike McGarr, 1 May 2012 I recently joined a development team where I was asked to help improve the team’s code quality and engineering practices. Soon after joining the team, I noticed numerous code quality [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to the roundup of blog posts and pages that mentioned Sonar last month&#8230;<span id="more-6275"></span></p>
<p><a href="http://earlyandoften.wordpress.com/2012/05/01/sonar/">Assessing Code Quality with Sonar</a><br />
By Mike McGarr, 1 May 2012<br />
<quote>I recently joined a development team where I was asked to help improve the team’s code quality and engineering practices.  Soon after joining the team, I noticed numerous code quality issues that needed to be addressed.  In order to justify the effort to improve code quality to non-technical decision makers, I needed a quantitative method for measuring the quality of the source code and possibly the technical debt.  I had heard a lot about a tool called Sonar, so I decided to give a try&#8230;</quote></p>
<p><a href="http://scn.sap.com/community/java/blog/2012/04/16/java-quality-management-with-sonar">Java quality management with Sonar</a><br />
By Tobias Hofmann, 16 April 2012<br />
<quote> Quality of software projects is a huge topic and most of the time is focused around management of the project: agile, change management, etc. An area of equal importance is code quality. For most programming languages a QM product is available. SAP with ABAP comes with code quality tools, and because Java has an enormous eco system, Java also does have a wide range of code quality tools available&#8230;</quote></p>
<p><a href="http://scn.sap.com/community/java/blog/2012/04/20/integrating-sonar-with-eclipse">Integrating Sonar with Eclipse</a><br />
By Tobias Hofmann, 20 April 2012<br />
<quote>Sonar comes with a killer feature: Eclipse integration. This does not only mean that there is an Eclipse perspective available, but Sonar findings can be used with Mylyn&#8230;</quote></p>
<p><a href="http://qualilogy.com/sonar/sonar-upgrade/">Sonar Upgrade</a><br />
By Jean-Pierre Fayolle, 27 April 2012<br />
<quote>It’s been a while since we talked about Sonar. I was a bit busy recently to discover new territories so I am late in the update of my Sonar environment. Furthermore, there is a new release 3.0 with a bunch of new features. So without further ado, the time has come for a Sonar upgrade&#8230;</quote></p>
<p><a href="http://yodayouseek.blogspot.fr/2012/04/part-3-application-code-analysis-with.html">Part 3: Play Application &#8211; Code analysis with Sonar</a><br />
By Ionut David, 5 April 2012<br />
<quote>The Play Framework is new around the block so the written is &#8220;not so pure OO code&#8221;(lots of static methods or POJOs with public fields) so the default sonar rules are violated. Because of this you will need to customize the sonar rules. I have checked the web for sonar play plugin but didn&#8217;t found anything so I have used the sonar-ant-task v.1.3. Before going ahead check if you have the !Play framework installed. If not read CI Part 1 to see how to install it. Also you will need Ant installed on your machine</quote></p>
<img src="http://feeds.feedburner.com/~r/Sonar/~4/zEbrz5J7eeE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sonarsource.org/sonar-in-the-news-27/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sonarsource.org/sonar-in-the-news-27/</feedburner:origLink></item>
		<item>
		<title>Sonar 3.0 in screenshots</title>
		<link>http://feedproxy.google.com/~r/Sonar/~3/ApQi-FFhriA/</link>
		<comments>http://www.sonarsource.org/sonar-3-0-in-screenshots/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 08:45:40 +0000</pubDate>
		<dc:creator>Simon Brandhof</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[screenshots]]></category>

		<guid isPermaLink="false">http://www.sonarsource.org/?p=6229</guid>
		<description><![CDATA[The Sonar team is proud to announce the release of Sonar 3.0. The team has been working for the last 2 years on Sonar 2.x versions, adding support for Continuous Inspection to manage Technical Debt. With Sonar 2.14, we felt that we had reach functional maturity for this support and that adding stability would make [...]]]></description>
			<content:encoded><![CDATA[<p>The Sonar team is proud to announce the release of Sonar 3.0. </p>
<p>The team has been working for the last 2 years on Sonar 2.x versions, adding support for Continuous Inspection to manage Technical Debt. With Sonar 2.14, we felt that we had reach functional maturity for this support and that adding stability would make it a great candidate for a major release: Sonar 3.0. </p>
<p>Along with the new version, SonarSource is also launching a new commercial plugin, the <a href="http://www.sonarsource.com/products/plugins/developer-tools/developer-cockpit/">Developer Cockpit</a>, which enables each developer to see his own contribution, and a <a href="http://www.sonarsource.com">new web site</a>.</p>
<p>But let&#8217;s come back to the specifics of Sonar 3.0: this new version includes 40+ improvements and fixes 40 bugs, that are described below in screenshots: </p>
<p><span id="more-6229"></span></p>
<h2>Enhanced Settings</h2>
<p>This was a highly demanded improvement to provide support for encryption of the database password :</p>
<p><img src="http://www.sonarsource.org/wp-content/uploads/2012/04/encryption.png" /></p>
<p>Documentation is available <a href="http://docs.codehaus.org/display/SONAR/Settings+Encryption">here</a>.</p>
<p>And we also added the masking functionality for passwords in the UI:<br />
<img src="http://www.sonarsource.org/wp-content/uploads/2012/04/password.png" /></p>
<p>along with enhanced UI for support of types of parameters<br />
<img src="http://www.sonarsource.org/wp-content/uploads/2012/04/property_types.png"  /></p>
<p>and added information for licenses<br />
<img src="http://www.sonarsource.org/wp-content/uploads/2012/04/license.png"  /></p>
<h2>New TimeMachine Dashboard</h2>
<p>TimeMachine is now fully widgetized and provided as a default dashboard:<br />
<img src="http://www.sonarsource.org/wp-content/uploads/2012/04/timemachine-dashboard.png" /></p>
<h2>Enhanced Management of Permissions</h2>
<p>The service has been improved by adding a search engine and improving the UI:<br />
<img src="http://www.sonarsource.org/wp-content/uploads/2012/04/project-roles-1.png"  /></p>
<h2>Define Alert Thresholds on Boolean Metrics</h2>
<p>Support for alerts on boolean metrics has been added:<br />
<img src="http://www.sonarsource.org/wp-content/uploads/2012/04/boolean_alert.png"  /></p>
<h2>New Metric: Number of Projects</h2>
<p>A new metric has been added that provides the number of projects. This is very useful when you look at an aggregation of projects (<a href="http://www.sonarsource.com/products/plugins/governance/portfolio-management/">Views plugin</a>) or at a developer&#8217;s dashboard (new <a href="http://www.sonarsource.com/products/plugins/developer-tools/developer-cockpit/">Developer Cockpit</a>)</p>
<p><img src="http://www.sonarsource.org/wp-content/uploads/2012/04/projects-metric.png"/></p>
<p>Other changes that are more difficult to show in screenshots: Hide Empty Source Viewers and JaCoCo Exclusions for Java Projects.</p>
<p>Time now to let you give a try to this version 3.0. Release notes are available in the <a href="http://www.sonarsource.org/downloads/">download page</a>. Please do not forget to read the <a href="http://docs.codehaus.org/display/SONAR/Install+Sonar">installation</a> or <a href="http://docs.codehaus.org/display/SONAR/Upgrade+guide">upgrade</a> guides.</p>
<img src="http://feeds.feedburner.com/~r/Sonar/~4/ApQi-FFhriA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sonarsource.org/sonar-3-0-in-screenshots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sonarsource.org/sonar-3-0-in-screenshots/</feedburner:origLink></item>
		<item>
		<title>Sonar in the news</title>
		<link>http://feedproxy.google.com/~r/Sonar/~3/no92jboRam4/</link>
		<comments>http://www.sonarsource.org/sonar-in-the-news-26/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 13:15:06 +0000</pubDate>
		<dc:creator>Olivier Gaudin</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://www.sonarsource.org/?p=6217</guid>
		<description><![CDATA[Welcome to the roundup of blog posts and pages that mentioned Sonar last month&#8230; Code Quality Metrics with Sonar, Part I By Akrem Saed, 5 March 2012 was fortunate to be able to attend the 2011 edition of No Fluff Just Stuff . One of my favorite presentations was by Matthew McCullough on Sonar . [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to the roundup of blog posts and pages that mentioned Sonar last month&#8230;<span id="more-6217"></span></p>
<p><a href="http://blogs.sourceallies.com/2012/03/code-quality-metrics-with-sonar-part-i/">Code Quality Metrics with Sonar, Part I</a><br />
By Akrem Saed, 5 March 2012<br />
<quote>  was fortunate to be able to attend the 2011 edition of No Fluff Just Stuff . One of my favorite presentations was by Matthew McCullough on Sonar . Hence, when the issue of code metrics was raised at a client, Sonar seemed like the right tool to use. Our client wanted to explore ways to measure and enforce software and code quality metrics. Their goals were to have quantitative measurements of their code quality and analyze those metrics to come up with a set of benchmark measurements. They wanted to utilize Sonar to discourage bad practices.</quote></p>
<p><a href="http://blog.codecentric.de/en/2012/03/pros-and-cons-of-the-lcom4-metric-in-sonar/">Pros and Cons of the LCOM4 metric in Sonar</a><br />
By Andreas Ebbert-Karroum, 28 March 2012<br />
<quote> In our projects, we use sonar to detect quality flaws in our sources as early as possible. An important metric is LCOM4: Lack of Cohesion of Methods IV. It measures how related the fields and methods in a class are. If everything is related within a class, that’s the best case. If LCOM4 is greater than 1, the class is suspicious to violate the Single Responsibility Principle. The class might be responsible for more than one thing, and is a candidate to be split into two ore more classes in a refactoring. At least in Theory&#8230;</quote></p>
<p><a href="http://parksyrecreation.com/2012/03/05/the-incredibles-some-of-my-favorite-java-tools/">The Incredibles: Some of my favorite Java tools.</a><br />
By Parksy&#8217;s Recreation, 5 March 2012<br />
<quote>I love programming. It gives me a sense of accomplishment when I solve a particularly difficult problem. I occasionally get so wrapped up in what I’m doing I lose track of time and spend a few extra hours at work. Obviously there are a lot of other programmers out there that feel the same way. An old friend of mine coined it something like this: “Managers don’t get it, we love coding so much that we’ll sit and squirm in our chairs until we have to go to the bathroom.”</quote></p>
<p><a href="http://www.theserverside.com/discussions/thread.tss?thread_id=63777">When creating the ultimate developer image, which Java tools get included?</a><br />
By Cameron McKenzie, 7 March 2012<br />
<quote>About once a year, I recreate a computer image that I will inevitably reinstall time and time again, depending upon whether I&#8217;m starting a new project, playing around with a new technology, or just trying to bring my environment back to something that is clean and fresh. Every time I do this, I sit there and think about the key pieces of software that I need&#8230;</quote></p>
<p><a href="http://java.dzone.com/articles/software-you-need-create">The Tools You Need To Build Enterprise Software &#8211; All You Need is Open Source</a><br />
By Partha Bhattacharjee, 28 February 2012<br />
<quote>Let me share a secret with you. There is only a handful software tools, mostly free, that are sufficient enough for managing design and development activities for most of your java based projects. In my career spanning across the globe for more than a decade now, I have seen so many combinations of (mostly non required, pricey, and inept) supporting software, that I am compelled to write down a list of what I consider are must haves (not necessarily free, but worth the price if they are commercial).</quote></p>
<p><a href="http://sanjsuya.wordpress.com/2012/03/02/sonar-code-quality-tool-maven-integration/">Sonar Code Quality tool – Maven integration</a><br />
By Suyambu, 2 March 2012<br />
<quote>In this blog, i am presenting you the integration of Sonar code quality tool with Maven.  Sonar is a powerful code quality tool Which leads the control of quality of code in different phases of the project life cycle. Sonar has got a very efficient way of navigating, a balance between high-level view, dashboard, TimeMachine and defect hunting tools&#8230;</quote></p>
<p><a href="http://java.dzone.com/articles/draft-common-sense-and-code">Common Sense and Code Quality, Part 1</a><br />
By Partha Bhattacharjee, 9 March 2012<br />
<quote>If you are involved in a software project (as an individual coder, technical team lead, architect or project manager) chances are that code quality might not be the first thing on your mind. However, the truth is, it needs to be on everyone&#8217;s radar. It is one of those things that needs well thought out strategy and continued focus throughout the project&#8217;s life-cycle. Otherwise it simply spirals out of control and comes back to bite when the project can ill afford a quality issue.</quote></p>
<p><a href="http://mestachs.wordpress.com/2012/03/17/dangerous-can-be-dating-in-java-joda-to-the-rescue/">Dangerous can be dating in java , joda and sonar to the rescue!</a><br />
By Mestachs, 17 March 2012<br />
<quote>How many bugs in 5 lines of code ?<br />
<code>Date date = new Date(2007, 12, 13, 16, 40);<br />
TimeZone zone = TimeZone.getInstance("Europe/Bruxelles");<br />
Calendar cal = new GregorianCalendar(date, zone);<br />
DateFormat fm = new SimpleDateFormat("HH:mm Z");<br />
String str = fm.format(cal);</code><br />
Just 6 bugs !</quote></p>
<img src="http://feeds.feedburner.com/~r/Sonar/~4/no92jboRam4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sonarsource.org/sonar-in-the-news-26/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sonarsource.org/sonar-in-the-news-26/</feedburner:origLink></item>
		<item>
		<title>What is coming up for Sonar in 2012 ?</title>
		<link>http://feedproxy.google.com/~r/Sonar/~3/tLz12yGIxEY/</link>
		<comments>http://www.sonarsource.org/what-is-coming-up-for-sonar-in-2012-2/#comments</comments>
		<pubDate>Thu, 29 Mar 2012 11:54:59 +0000</pubDate>
		<dc:creator>Freddy Mallet</dc:creator>
				<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://www.sonarsource.org/?p=6129</guid>
		<description><![CDATA[I wrote a few weeks ago a post on what was accomplished on the platform last year. Today, even if the year is already well started, I am taking some time to discuss the plans for this year ! In 2011, a lot of efforts were invested for supporting Continuous Inspection. This year, we will [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote a few weeks ago a post on <a href="http://www.sonarsource.org/looking-back-at-2011-sonar-platform-accomplishments/">what was accomplished on the platform last year</a>. Today, even if the year is already well started, I am taking some time to discuss the plans for this year !</p>
<p>In 2011, a lot of efforts were invested for supporting Continuous Inspection. This year, we will continue to increase the value of the platform by bringing new and unique functionality, enforcing integration to development environment, consolidating support of existing languages and adding new ones.</p>
<h2>Complete support of Continuous Inspection</h2>
<p>The plan for this year is to complete what was started on Continuous Inspection last year and add the ability to:</p>
<ul>
<li>customize the workflow for reviews</li>
<li>create a review at any place in the code</li>
<li>change severity of a violation</li>
<li>group reviews into an action plan</li>
<li>track project activity through widgets</li>
<li>get notified in case of new violations on a project</li>
<li>improve accuracy for new violation detection mechanism</li>
</ul>
<p>Most of this was completed already as it was part of Sonar 2.13 and 2.14</p>
<h2>Developer Cockpit</h2>
<p>Since developers have now the ability to understand and follow continuously the quality of their application, this is now time to provide them with a service that shows their own contribution to projects: the developer cockpit. The idea is that the developer will have access to a dashboard similar to the current one that will show only his data.</p>
<h2>Global / Governance dashboards</h2>
<p>The platform already allows to customize project dashboards but there is currently no way to create global dashboards to get for example in the same page :</p>
<ul>
<li>the list of projects with a technical debt that increased during the past 30 days</li>
<li>my most valuable measures on my favorite projects</li>
<li>the reviews that were created last across all projects</li>
<li>the open reviews assigned to me</li>
<li>the last quality default I introduced</li>
<li>&#8230;</li>
</ul>
<h2>Code analysis technology</h2>
<p>SonarSource is going to open source its source code analysis technology &#8220;SSLR&#8221; to make it available for all Sonar plugins. The objective is to make all languages plugins, whether open source or close source, better. SSLR will provide all standard and complex stacks to analyse code : lexer, preprocessor, parser, AST generation, symbols table, XPath requests on AST, control flow&#8230; The first language we are looking at improving then is going to be Javascript.</p>
<h2>Code Churn metrics</h2>
<p>When doing refactoring and fixing quality defects, it can be very valuable to know what has been the activity during the past months on the source files we&#8217;re working on. Indeed the ROI of the same kind of refactoring can be far more important on files which are often updated than on files that haven&#8217;t changed during the past two years. That&#8217;s another input to determine the priority of remediation activities.</p>
<h2>Language coverage</h2>
<p>On the language side, this year was prolific already with the contribution from the community of a python and a delphi plugin. But this is not it ! Two c++ plugins are under construction, one from the community and one from SonarSource. This is all good news for the ecosystem.</p>
<p>Additional effort is going to be made on the improvement of existing languages:</p>
<ul>
<li>Release of a version 1.0 of Flex plugin where any remaining dependency on Maven will be removed</li>
<li>Ability to not use anymore Toad  with the PL/SQL plugin (2 releases of te plugin already this year)</li>
<li>increase drastically the number of rules in C (+ 30 already)</li>
<li>release of a version 2.0 of the SAP ABAP plugin</li>
</ul>
<h2>Various</h2>
<p>Here is a list of various improvements and functionality that will enhance the platform:</p>
<ul>
<li>Detection of cross-project duplications for all languages</li>
<li>Support for authorization in the LDAP plugin</li>
<li>Differential analysis in Eclipse</li>
<li>Encryption in analysers of DB credentials </li>
<li>This might be the year for Idea plugin</li>
</ul>
<p>That is it, we are now waiting for you on the user mailing list to discuss all this and define the exact use cases that should be covered!</p>
<img src="http://feeds.feedburner.com/~r/Sonar/~4/tLz12yGIxEY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sonarsource.org/what-is-coming-up-for-sonar-in-2012-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.sonarsource.org/what-is-coming-up-for-sonar-in-2012-2/</feedburner:origLink></item>
		<item>
		<title>Sonar 2.14 in screenshots</title>
		<link>http://feedproxy.google.com/~r/Sonar/~3/b6RommXbasM/</link>
		<comments>http://www.sonarsource.org/sonar-2-14-in-screenshots/#comments</comments>
		<pubDate>Tue, 27 Mar 2012 10:24:05 +0000</pubDate>
		<dc:creator>Simon Brandhof</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[screenshots]]></category>

		<guid isPermaLink="false">http://www.sonarsource.org/?p=6125</guid>
		<description><![CDATA[The Sonar team is proud to announce the release of Sonar 2.14. This new version includes 100+ improvements, bug-fixes and also new features that we believe are worth stopping your daily work for a couple of minutes to check out : extension of cross projects duplications for all languages, dashboard for reviews, notes on rules, [...]]]></description>
			<content:encoded><![CDATA[<p>The Sonar team is proud to announce the release of Sonar 2.14. This new version includes 100+ improvements, bug-fixes and also new features that we believe are worth stopping your daily work for a couple of minutes to check out : extension of cross projects duplications for all languages, dashboard for reviews, notes on rules, new violations widget, enhanced file header, new treemaps and enhanced login. It is also to be noted that Sonar 2.14 enables LDAP 1.1 which provides support for external authorization.</p>
<p>Here are screenshots of what has changed in the user interface:</p>
<p><span id="more-6125"></span></p>
<h2>Cross-project copy paste detection for all languages</h2>
<p>What was already there for Java language since Sonar 2.11 is now available for all languages, the ability to detect cross project duplications:<br />
<img src="http://www.sonarsource.org/wp-content/uploads/2012/03/cobol-cross-project-duplication-1.png" alt="" title="cobol-cross-project-duplication-1" /></p>
<h2>Dashboard for reviews</h2>
<p>The 2.14 distribution comes with a default dashboard for reviews that can of course be customized. This provide a great insight of where you stand with reviews and violations :<br />
<img src="http://www.sonarsource.org/wp-content/uploads/2012/03/reviews-dashboard-2.png" alt="" title="reviews-dashboard" width="650" height="374" class="aligncenter size-full wp-image-6139" /></p>
<h2>Email notification on new violations</h2>
<p>This is now possible on a project to subscribe and receive an email when a new violation is added :<br />
<img src="http://www.sonarsource.org/wp-content/uploads/2012/03/email-new-violations.png" /></p>
<h2>Notes on rules</h2>
<p>Two distincts functionality have actually been added :<br />
First the ability to extend the description of a rule to give more details for example. This is going to follow the rule in every profile and will also be available when clicking on a violation:<br />
<img src="http://www.sonarsource.org/wp-content/uploads/2012/03/rule-desc-1.png"  /></p>
<p><img src="http://www.sonarsource.org/wp-content/uploads/2012/03/rule-desc-2.png" /></p>
<p>But we have also added the ability to comment a rule in the context of a specific quality profile, to comment for example why it has been assigned a high priority or a special threshold :<br />
<img src="http://www.sonarsource.org/wp-content/uploads/2012/03/active_note1.png" /></p>
<h2>Enhanced violations widget</h2>
<p>When displaying a dashboard in a differential mode, what was displayed prior to Sonar 2.14 was the net number of violations. It missed an important piece: how many violations were added and how many violations were fixed during the period ? This information is now available:<br />
<img src="http://www.sonarsource.org/wp-content/uploads/2012/03/new_violations_widget.png" /></p>
<h2>Enhanced file header</h2>
<p>On top of seing in which module a file belongs to, you can also now quickly add/remove a file from favourites :<br />
<img src="http://www.sonarsource.org/wp-content/uploads/2012/03/file-header.png" /></p>
<h2>Enhanced treemaps</h2>
<p>We have now replicated the navigation mechanism of the radiators plugin within the treemap, enabling smooth navigation from highest level to source file:<br />
<img src="http://www.sonarsource.org/wp-content/uploads/2012/03/treemap.png"/></p>
<h2>Enhanced login</h2>
<p>Context of navigation is now kept when logging in : the user is redirected to the page he came from. This makes sharing of permalinks easier.</p>
<p>Time now to let you give a try to this version 2.14. Release notes are available in the <a href="/downloads/">download page</a>. Please do not forget to read the <a href="http://docs.codehaus.org/display/SONAR/Install+Sonar">installation</a> or <a href="http://docs.codehaus.org/display/SONAR/Upgrade+guide">upgrade</a> guides.</p>
<img src="http://feeds.feedburner.com/~r/Sonar/~4/b6RommXbasM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sonarsource.org/sonar-2-14-in-screenshots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sonarsource.org/sonar-2-14-in-screenshots/</feedburner:origLink></item>
		<item>
		<title>Sonar in the news</title>
		<link>http://feedproxy.google.com/~r/Sonar/~3/fuMdYqj23n8/</link>
		<comments>http://www.sonarsource.org/sonar-in-the-news-25/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 09:12:14 +0000</pubDate>
		<dc:creator>Olivier Gaudin</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://www.sonarsource.org/?p=6107</guid>
		<description><![CDATA[Welcome to the roundup of blog posts and pages that mentioned Sonar last month&#8230; Technical Debt &#8211; How much is it Really Costing you? By Jim BIrd, 13 February 2012 The idea behind the technical debt metaphor is that there is a cost to taking short cuts (intentional technical debt) or making mistakes (unintentional technical [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to the roundup of blog posts and pages that mentioned Sonar last month&#8230;<span id="more-6107"></span></p>
<p><a href="http://swreflections.blogspot.com/2012/02/technical-debt-how-much-is-it-really.html">Technical Debt &#8211; How much is it Really Costing you?</a><br />
By Jim BIrd, 13 February 2012<br />
<quote> The idea behind the technical debt metaphor is that there is a cost to taking short cuts (intentional technical debt) or making mistakes (unintentional technical debt) and that the cost of not dealing with these short cuts and mistakes will increase over time. The problem with this metaphor is that with financial debt, we know how much it would cost to pay off a debt off today and we can calculate how much interest we will have to pay in the future&#8230;</quote></p>
<p><a href="http://java.dzone.com/articles/separating-integration-and">Separating Integration and Unit Tests with Maven, Sonar, Failsafe, and JaCoCo</a><br />
By Jakub Holy, 8 February 2012<br />
<quote> Goal: Execute the slow integration tests separately from unit tests and show as much information about them as possible in Sonar. The first part – executing IT and UT separately – is achieved by using the maven-failsafe-plugin and by naming the integration tests *IT (so that the unit test running surefire-maven-plugin will ignore them while failsafe will execute them in the integration-test phase and collect results in the verify phase).</quote></p>
<p><a href="http://mickaelistria.wordpress.com/2012/02/20/wish-list-of-bugs-to-make-the-releng-and-qa-world-better/">Wish list of bugs to make the Releng and QA world better</a><br />
By Mickael Istria, 20 February 2012<br />
<quote>That’s now a few weeks since I joined the JBoss Tools and JBoss Developer Studio team and started working on build. JBoss Tools is a HUGE amount of code, with about 35 components (or modules in Maven terminology) that are aggregated in a way that can be compared to the Eclipse release train, and that all use a “Common Build Infrastructure” based on Maven/Tycho to perform build and Jenkins to trigger it.</quote></p>
<p><a href="http://ianskerrett.wordpress.com/2012/02/21/centralized-management-of-code-quality/">Centralized Management of Code Quality</a><br />
By Ian Skerrett, 23 February 2012<br />
<quote>Our vision for Agile ALM Connect is to bring together the leaders of different tools that are being used across the application lifecycle.   Therefore, I was very happy that Olivier Gaudin, co-founder of the Sonar open source project,  agreed to speak at Agile ALM Connect about how continuous inspection of code is an important aspect of continuous delivery.</quote></p>
<p><a href="http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/28803">SonarSource: Visualizing Technical Debt</a><br />
By Tom Van Doorslaer, 24 February 2012<br />
<quote> Every righteous developer pays attention to the quality of his/her code. Still this is many cases a very personal process and not every developer involved on a project will measure by the same quality standards. Some don&#8217;t even bother about the quality at all. This means that sub-par code may end up in production and as a result, drag the overal quality of work down. It&#8217;s nearly impossible to avoid this, unless by hand checking every single transport and not approving anything until quality is up to the level. So the need for a central code aggregating and validating system grows. Something like, SonarSource. </quote></p>
<p><a href="http://www.togsblom.com/2012/02/sonars-eclipse-plugin.html">Sonar’s Eclipse Plugin</a><br />
By Tom Wessels, 29 February 2012<br />
<quote>Sonar is an amazing tool that you should check out if you haven&#8217;t already.  Start by looking at Sonar&#8217;s analysis of its own code.  I think most Sonar users have it running as part of a regular build process, such as a nightly build, and review the results via the web application.  But sometimes you want faster feedback without the context-switching required when flipping between a web browser and your code.  In these cases, Sonar&#8217;s Eclipse plugin can be handy.</quote></p>
<p><a href="http://blog.smartbear.com/post/12-02-16/Code-Review-and-Static-Analysis.aspx">Code Review and Static Analysis</a><br />
By Will West, 16 February 2012<br />
<quote>What’s the difference between static analysis and code review? Static analysis can tell you if you are violating best practices or have common errors in your code. Code review can tell you that your code conforms to customer requirements and is actually correct.  At SmartBear, we espouse that to ensure the most software quality with the least time investment, development teams can benefit from both techniques. Our view is that code review complements static analysis, because when conducted together, they provide development teams with a complete picture of their code base.</quote></p>
<p><a href="http://www.gatewayjug.org/2012/02/putting-your-technical-debt-under-control-with-sonar.html">Putting Your Technical Debt Under Control with Sonar</a><br />
By Jack Frosch, 1 Feb 2012<br />
<quote>Presentation: Companies fail all the time because they accumulate more debt than they can ever repay. Likewise,  software projects fail all the time when their technical debt gets out of control.</quote></p>
<p><a href="http://itsitspace.blogspot.com/2012/02/sonar-open-source-quality-management.html"> Sonar open source quality management tool </a><br />
By Tejas Bavishi, 3 February 2012<br />
<quote>Sonar is a vast open source tool, so not possible to summarize everything. It is a platform to manage code quality and analyse static code. Features: &#8230;<br />
</quote></p>
<img src="http://feeds.feedburner.com/~r/Sonar/~4/fuMdYqj23n8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sonarsource.org/sonar-in-the-news-25/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sonarsource.org/sonar-in-the-news-25/</feedburner:origLink></item>
		<item>
		<title>Manage Duplicated Code with Sonar</title>
		<link>http://feedproxy.google.com/~r/Sonar/~3/KSmqZj9t2YY/</link>
		<comments>http://www.sonarsource.org/manage-duplicated-code-with-sonar/#comments</comments>
		<pubDate>Wed, 29 Feb 2012 15:31:04 +0000</pubDate>
		<dc:creator>Evgeny Mandrikov</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[functionality]]></category>
		<category><![CDATA[pmd]]></category>
		<category><![CDATA[Sonar CPD]]></category>

		<guid isPermaLink="false">http://www.sonarsource.org/?p=5866</guid>
		<description><![CDATA[If you use Sonar already, I am sure that you know already the worse of all 7 developer&#8217;s deadly sins: And if you don&#8217;t, I would assume you know about duplicated / cloned / similar code when you talk about quality of code and that you have heard of tools such PMD CPD or Simian. [...]]]></description>
			<content:encoded><![CDATA[<p>If you use Sonar already, I am sure that you know already the worse of all 7 developer&#8217;s deadly sins:<br />
<center><img src="http://www.sonarsource.org/wp-content/uploads/2012/02/Preview-Black-Duplications-Front.png"/></center><br />
And if you don&#8217;t, I would assume you know about duplicated / cloned / similar code when you talk about quality of code and that you have heard of tools such <a href="http://pmd.sourceforge.net/cpd.html">PMD CPD</a> or <a href="http://www.harukizaemon.com/simian/index.html">Simian</a>.</p>
<p>But why does copy paste matters from a code quality point of view? How can you benefit from Sonar to improve this? Let’s try to figure this out.<br />
<span id="more-5866"></span></p>
<h2>What is duplicated code?</h2>
<p>Let&#8217;s try to answer what sounds like a pretty simple question: what does &#8220;duplicated code&#8221; mean? Let&#8217;s consider following four code fragments. They all will print 34, but are they duplicated? </p>
<p><quote><code>int[] a = new int[10];<br />
a[9] = 0;<br />
a[8] = 1;<br />
for (int i = 7; i >= 0; i--) {<br />
  a[i] = a[i+2] + a[i+1];<br />
}<br />
System.out.println(a[0]);<br />
</code></quote></p>
<p><quote><code>int f(int i) {<br />
  if (i == 0 || i == 1) return i;<br />
  return f(i - 2) + f(i - 1);<br />
}<br />
System.out.println(f(9));<br />
</code></quote></p>
<p><quote><code>int[] a = {34, 21, 13, 8, 5, 3, 2, 1, 1, 0};<br />
System.out.println(a[0]);<br />
</code></quote></p>
<p><quote><code>int[] b = {0, 1, 1, 2, 3, 5, 8, 13, 21, 34};<br />
System.out.println(b[9]);<br />
</code></quote></p>
<p>Well, this is not entirely a fair question, because there is no agreement in the research community on the exact notion of duplication. Ira Baxter’s definition (2002) of clones expresses this vagueness:</p>
<p><quote>Clones are segments of code that are similar according to some definition of similarity.<br />
</quote></p>
<p>We can rephrase this more formally:</p>
<ul>
<li>Code fragment (code region / portion / segment) is any sequence of code. It can be of any granularity, e.g., function definition, begin-end block, sequence of statements or sequence of tokens.</li>
<li>A code fragment CF2 is a duplication of another code fragment CF1 if they are similar by some given definition of similarity, that is, f(CF1) = f(CF2) where f is the similarity function.</li>
<li>Two fragments that are similar to each other form a duplication pair (CF1, CF2) and when many fragments are similar, they form a duplication group.</li>
<li>We prefer term &#8220;duplicate&#8221; (&#8220;duplication&#8221;) over &#8220;clone&#8221;, because at least it doesn&#8217;t clash with a name of clone method in Java.</li>
</ul>
<p>According to this definition, we still can have different notions of duplications depending on definition of similarity function. Moreover &#8211; human judgment of duplications is an issue and varies among experts. In one of experiments, for more than 60% of automatically detected duplications, three experts disagreed whether the fragments are really duplication or not. Even in SonarSource from time to time we have disputes about some code fragments. Let&#8217;s make our life a bit simpler by using the following less formal definitions of a similarity function (in literature those definitions typically called types of duplications):</p>
<ol>
<li>Identical code fragments except for variations in whitespace (may be also variations in layout) and comments.</li>
<li>Structurally / syntactically identical fragments except for variations in identifiers, literals, types, layout and comments. The reserved words and the sentence structures are essentially the same.</li>
<li>As previous, but with further modifications &#8211; statements can be changed, added and / or deleted in addition to variations in identifiers, literals, types, layout and comments.</li>
<li>Code fragments that perform the same computation but implemented through different syntactic variants.</li>
</ol>
<p>You can try to use those definitions for given fragments by yourself to see difference ;)</p>
<h2>How is such code typically created?</h2>
<p>Here are some examples of why duplication occurs:</p>
<ul>
<li>Reusing existing code by copying and pasting (with or without minor modifications) is the simplest form of reuse mechanism in the development process, which results in duplicated code.</li>
<li>Code may be borrowed from another system, which may not be modified. In such situations, the only way of reusing the existing code is to copy and paste with required changes.</li>
<li>Generating code with a tool using generative programming may produce huge duplications because these tools often use the same template to generate the same or similar logic.</li>
<li>Sometimes programming languages do not have sufficient abstraction mechanisms, e.g., inheritance, generic types or parameter passing, thus developers forced to repeatedly implement these as idioms, which leads to small and frequent duplications.</li>
<li>Duplications may be introduced by accidents: side effect of developers memories; coincidentally implementing the same logic by different developers.</li>
<li>I really want to believe that this is not about readers of this blog, however sometimes productivity of a developer is measured by the number of lines produced per day. In such circumstances, developers focused on reuse of the same code again and again by copying and pasting, instead of following a proper development strategy.</li>
</ul>
<h2>Why you should pay attention on such code fragments?</h2>
<ul>
<li>Propagation of bugs: if a code fragment contains a bug and this fragment is copied, then the bug will exist in all pasted fragments. More generally, duplicating code will also duplicate the associated technical debt.</li>
<li>Increased maintenance cost: any maintenance required on a copied code fragments will certainly need to be applied on the pasted ones, i.e. duplication multiplies the work to be done.</li>
<li>Increased time to understand and thus to improve/modify existing system if it contains a lot of duplications, because differences must be studied by developers before modifications.</li>
<li>As an indicator of a bad design, lack of good inheritance structure or abstraction.</li>
<li>As an indicator about copyright infringement.</li>
<li>Last, but not least &#8211; you can&#8217;t manage what you don&#8217;t measure.</li>
</ul>
<p>In summary, this practice is evil !</p>
<h2>What can Sonar offer to you?</h2>
<p>Prior to version 2.11, Sonar was relying on PMD-CPD to detect duplicated code. PMD-CPD is a good tool with a great history which uses Karp-Rabin algorithm for list of tokens and is able to detect duplications of type 2 and partially type 3. But it also has some drawbacks:</p>
<ul>
<li>It requires a lot of resources, especially on the memory side and thus is not hardly scalable on a large code base with millions of lines of code.</li>
<li>As a consequence of the previous point, the copy-paste detection is limited to boundaries of a single module / project.</li>
<li>Impossible to tune underlying algorithm to prevent false-positives and to increase precision.</li>
<li>No easy way to cover new languages without having a full lexer.</li>
<li>We observed that results may slightly vary depending on operating system where analysis was done.</li>
</ul>
<p>Because of those drawbacks, we decided to implement our own library sonar-cpd to detect duplicated code. The first brick was created during Google Summer of Code 2011. And we should say a big thank you to the participants for their ideas, suggestions and efforts to help us. This first baby step already gave us a good feedback with <a href="http://www.sonarsource.org/sonar-2-11-in-screenshots/">Sonar 2.11</a>:</p>
<p>We noted comparable performances:<br />
<img src="http://www.sonarsource.org/wp-content/uploads/2012/01/chart_1.png" /></p>
<p>We noted also lower memory peak :<br />
<img src="http://www.sonarsource.org/wp-content/uploads/2012/02/peak_memory.png" /></p>
<p>With sonar-cpd, results are more accurate, controlled and predictable. The detection is based on &#8220;statements&#8221; and therefore we are able to detect duplications of type 2 and partially of type 3 (maybe one day we will go further) and we can reduce amount of false-positives (like repeated blocks of import statements for example).</p>
<p>And last but not least : because of the significant improvement in terms of performances, we are now providing the ability to detect cross-project duplications. This feature is for now only available for Java but this limitation will disappear in Sonar 2.14.</p>
<p><img src="http://www.sonarsource.org/wp-content/uploads/2011/10/cross-project-duplication-1.png" /></p>
<p><img src="http://www.sonarsource.org/wp-content/uploads/2011/12/duplication-groups-1.png" /></p>
<p>In summary many more opportunities for abstracting and mutualizing code, how cool is this!</p>
<img src="http://feeds.feedburner.com/~r/Sonar/~4/KSmqZj9t2YY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sonarsource.org/manage-duplicated-code-with-sonar/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.sonarsource.org/manage-duplicated-code-with-sonar/</feedburner:origLink></item>
		<item>
		<title>Looking Back at 2011 Sonar Platform Accomplishments</title>
		<link>http://feedproxy.google.com/~r/Sonar/~3/uk3teWTJigU/</link>
		<comments>http://www.sonarsource.org/looking-back-at-2011-sonar-platform-accomplishments/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 15:10:02 +0000</pubDate>
		<dc:creator>Freddy Mallet</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[jacoco]]></category>
		<category><![CDATA[languages]]></category>
		<category><![CDATA[manual reviews]]></category>
		<category><![CDATA[Sonar CPD]]></category>
		<category><![CDATA[Sonar Eclipse]]></category>

		<guid isPermaLink="false">http://www.sonarsource.org/?p=5850</guid>
		<description><![CDATA[The beginning of a new year always provides a good opportunity to look back at what was achieved the previous year and this is what I am going to do today for the Sonar platform. Let&#8217;s start with a short version of this retrospective. Last year was made of: 8 releases of Sonar 110+ releases [...]]]></description>
			<content:encoded><![CDATA[<p>The beginning of a new year always provides a good opportunity to look back at what was achieved the previous year and this is what I am going to do today for the Sonar platform.</p>
<p>Let&#8217;s start with a short version of this retrospective. Last year was made of:</p>
<ul>
<li>8 releases of Sonar</li>
<li>110+ releases in the ecosystem</li>
<li>55,000 downloads of Sonar</li>
<li>10,000+ messages on mailing lists</li>
</ul>
<p>So I suppose we can call this a pretty active year for the community. Now, the longer version:</p>
<h1>The Plan</h1>
<p>One year ago, we had <a href="http://www.sonarsource.org/what-is-coming-up-for-sonar-in-2011/">the following ambitions</a> :</p>
<p><quote>Track changes : The next step is to provide the ability to report on code coverage of new source code. This is to ensure that whatever legacy code is there, teams have the ability to monitor the coverage by unit tests on added code if they wish.</quote></p>
<p>Since <a href="http://www.sonarsource.org/sonar-2-7-in-screenshots/">Sonar 2.7</a> and with help of the <a href="http://docs.codehaus.org/display/SONAR/SCM+Activity+Plugin">SCM Activity plugin</a>, this magic feature is available.</p>
<p><quote>Code Review : This is really the next strategic move for the Sonar platform : add a manual dimension to the automated one to provide a complete code review tool.</quote></p>
<p>This was a major change to accomodate into the platform and we therefore decided to adopt a baby step approach. The full functionality was delivered over 5 releases, from 2.8 to 2.12. Here is what the platform now covers:</p>
<ul>
<li>Review a violation</li>
<li>Comment, assign, plan a review</li>
<li>Flag false-positive violations through the UI</li>
<li>Create manual violations through the UI</li>
<li>Change the severity of a violation through the UI</li>
</ul>
<p>Next step will be to provide the ability to customize the review workflow and its related permissions. </p>
<p><quote>Language consolidation : Provide a Squid-like engine to the C# plugin to make it more robust</quote></p>
<p>It took us 6 month with the great help of Alexandre Victoor to rewrite the C# plugin that embeds its own C# parser and natively supports visual studio projects.</p>
<p><quote>Language consolidation : Improve the C parser to gain robustness, support non ANSI-85 extensions and increase significantly the number of rules available</quote></p>
<p>We haven&#8217;t worked as much as we wanted on this C plugin and so the number of rules remains limited. That&#8217;s why we&#8217;ve already started working to implement the <a href="http://www.misra-c.com/Activities/MISRAC/tabid/160/Default.aspx">MISRA-C standard</a>. </p>
<p><quote>Language consolidation : Improve the PL/SQL plugin to provide currently missing metrics</quote></p>
<p>A PL/SQL parser has been written to provide all those metrics and to start implementing some new rules outside the Toad CodeXpert tool.</p>
<p><quote>Sonar Eclipse : Now that we have a stable version 1.0 of the plugin, we can start building on it. The objective for this year is to provide capability for running local analysis inside Eclipse</quote></p>
<p>This local mode is now available but in fact the greatest new feature of Sonar Eclipse is certainly the integration of Mylyn to <a href="http://www.sonarsource.org/effective-code-review-with-sonar/">manage reviews directly from the IDE</a>. </p>
<p><quote>Support New Bootstrappers : We have started last year some background work to decouple Sonar from Maven. This work will enable us to support 2 new mechanisms for bootstrapping analysis in Sonar 2.6 : an ANT task and a Java runner. Next step is to also provide Gradle bootstrapper.</quote></p>
<p><a href="http://docs.codehaus.org/display/SONAR/Analyse+with+Ant+Task">DONE</a>, <a href="http://docs.codehaus.org/display/SONAR/Analyse+with+a+simple+Java+Runner">DONE</a>, <a href="http://gradle.org/docs/current/userguide/sonar_plugin.html">DONE</a>, Sonar is now fully decoupled from Maven but if you want to use the power of Maven along with Sonar, <a href="http://www.sonarsource.org/we-had-a-dream-mvn-sonarsonar/">it is of course still possible</a>.</p>
<p><quote>JaCoCo Integration : We intend to make 2 major integrations of JaCoCo into Sonar this year. The first one is to integrate it into Sonar core. The second one is to provide ANT integration of JaCoCo and therefore provide a simple way of gathering code coverage when you execute unit tests from ANT.</quote></p>
<p><a href="http://www.sonarsource.org/sonar-2-12-in-screenshots/">DONE</a> &#038; <a href="http://docs.codehaus.org/display/SONAR/Code+coverage+plugins">DONE</a>. </p>
<h1>Beyond the Plan</h1>
<p>Obviously, we did not plan for all upcoming innovations for the year. Here are three major features of Sonar that weren&#8217;t planned and that have been implemented:</p>
<ul>
<li>Sonar CPD : this new technology introduced in Sonar 2.10 will fully replace PMD CPD in Sonar 2.14 and allows to track cross-projects duplications</li>
<li>i18n : Since <a href="http://www.sonarsource.org/sonar-2-10-in-screenshots/">Sonar 2.10</a> the Sonar UI can be in spanish, french, greek&#8230;</li>
<li>Email notifications : Since <a href="http://www.sonarsource.org/sonar-2-9-in-screenshots/">Sonar 2.10</a> a user can subscribe to some events to be notified by email. For instance when a review is assigned to him.</li>
</ul>
<p>And this is also true in the ecosystem, here are two examples: </p>
<ul>
<li>a great effort made on the PHP plugin to resurrect it</li>
<li>development of an extension for SAP ABAP</li>
</ul>
<p>So after all this, what could be an exciting challenge for 2012 ? This is going to be the subject of my next post !</p>
<img src="http://feeds.feedburner.com/~r/Sonar/~4/uk3teWTJigU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sonarsource.org/looking-back-at-2011-sonar-platform-accomplishments/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.sonarsource.org/looking-back-at-2011-sonar-platform-accomplishments/</feedburner:origLink></item>
		<item>
		<title>Sonar in the news</title>
		<link>http://feedproxy.google.com/~r/Sonar/~3/guoGbXqPcRc/</link>
		<comments>http://www.sonarsource.org/sonar-in-the-news-24/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 15:00:23 +0000</pubDate>
		<dc:creator>Olivier Gaudin</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://www.sonarsource.org/?p=5999</guid>
		<description><![CDATA[Welcome to the roundup of blog posts and pages that mentioned Sonar last month… Sonar and Gradle Multi-Module Projects By Gunnar Hillert, 13 January 2012 I love Sonar. It is a wonderful way to collect some metrics for your Java projects &#8211; hassle-free and wrapped in a sweet-looking UI. For Maven-based projects Sonar literally works [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to the roundup of blog posts and pages that mentioned Sonar last month…<span id="more-5999"></span></p>
<p><a href="http://hillert.blogspot.com/2012/01/sonar-and-gradle-multi-module-projects.html">Sonar and Gradle Multi-Module Projects</a><br />
By Gunnar Hillert, 13 January 2012<br />
<quote>I love Sonar. It is a wonderful way to collect some metrics for your Java projects &#8211; hassle-free and wrapped in a sweet-looking UI.  For Maven-based projects Sonar literally works out of the box. Just start up your Sonar instance (assuming you are using the default settings running on localhost) and then you simply fire it off using:</quote></p>
<p><a href="http://java.dzone.com/articles/measuring-code"> Measuring Code </a><br />
By David Green, 2 January 2012<br />
<quote>How good is your code? If you’re like the other 80% of above average developers, then I bet your code is pretty awesome. But are you sure? How can you tell? Or perhaps you’re working on a legacy code base – just how bad is the code? And is it getting better? Code metrics provide a way of measuring your code – some people love ‘em, but some hate ‘em.</quote></p>
<p><a href="http://www.wappworks.com/2012/01/06/making-a-business-case-for-using-codehaus-sonar/">Making a Business Case For Using Codehaus Sonar</a><br />
By Chris Khoo, 6 January 2012<br />
<quote>Augmenting the development process is often a hard sell – processes don’t contribute directly to company profits and there are financial and time costs (for integration and maintenance)  to consider. Personally, I’m a firm believer in adopting processes on an as-needed basis rather than trying to build the ultimate workflow/process all at once.</quote></p>
<p><a href="http://www.coding-stories.com/2012/01/23/couverture-des-tests-dintegration-avec-jacoco-maven-et-sonar/">Couverture des tests d’intégration avec JaCoCo, Maven et Sonar</a><br />
By Jean-Christophe, 23 January 2012<br />
<quote>Dans nos projets on rencontre souvent ce cas de figure : certaines portions de code se prêtent mal au test unitaire. Ce sont les interfaces graphiques, le code qui manipule des fichiers, les connexions réseaux… Cela peut poser problème lorsqu’on …</quote></p>
<p><a href="http://www.javaworld.com/community/?q=node/8293"> Continuous Integration and Testing </a><br />
By John Dobie, 16 January 2012<br />
<quote>How do you know if using code metrics really does help to produce code with fewer bugs.<br />
I am convinced they do, but how can I possibly prove it? All projects have historic data. This is usually stored in your bug tracking and source code control tools. We can use the data stored in these systems to perform ‘code forensics.’ We use the historic data from real issues to see if they could have been avoided.</quote></p>
<img src="http://feeds.feedburner.com/~r/Sonar/~4/guoGbXqPcRc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sonarsource.org/sonar-in-the-news-24/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.sonarsource.org/sonar-in-the-news-24/</feedburner:origLink></item>
		<item>
		<title>Sonar 2.13 in screenshots</title>
		<link>http://feedproxy.google.com/~r/Sonar/~3/54GV3gsVpUA/</link>
		<comments>http://www.sonarsource.org/sonar-2-13-in-screenshots/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 12:48:54 +0000</pubDate>
		<dc:creator>Simon Brandhof</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[screenshots]]></category>

		<guid isPermaLink="false">http://www.sonarsource.org/?p=5935</guid>
		<description><![CDATA[The Sonar team is proud to announce the release of Sonar 2.13. This new version includes 60 improvements, bug-fixes and also some new features that we believe are worth stopping your daily work for a couple of minutes to check out : ability to create manual reviews / violations anywhere in the code, ability to [...]]]></description>
			<content:encoded><![CDATA[<p>The Sonar team is proud to announce the release of Sonar 2.13. This new version includes 60 improvements, bug-fixes and also some new features that we believe are worth stopping your daily work for a couple of minutes to check out : ability to create manual reviews / violations anywhere in the code, ability to create action plans and an extended search engine.</p>
<p><span id="more-5935"></span></p>
<h2>Extended search engine</h2>
<p>The search engine will now return not only projects but also modules, package and files. A picture is worth a thousand words :</p>
<p><img src="http://www.sonarsource.org/wp-content/uploads/2012/01/search_engine.png"/></p>
<h2>Add a review on any piece of code</h2>
<p>Whenever a quality defect is detected &#8220;manually&#8221;, the person who detected it has the ability to inject a violation directly into Sonar:</p>
<p><img src="http://www.sonarsource.org/wp-content/uploads/2012/01/review_code.png"/></p>
<p>The related violation is then displayed within the source code and will be accounted for in metrics after the next analysis of the project:</p>
<p><img src="http://www.sonarsource.org/wp-content/uploads/2012/01/generated_review.png"/></p>
<h2>Action plans</h2>
<p>Action plans can be created to group reviews together.<br />
<img src="http://www.sonarsource.org/wp-content/uploads/2012/01/manage_action_plans.png" /></p>
<p>An action plan can be associated to each violation</p>
<p><img src="http://www.sonarsource.org/wp-content/uploads/2012/01/plan.png" /></p>
<p><img src="http://www.sonarsource.org/wp-content/uploads/2012/01/link_to_plan-1.png" /></p>
<p>And then it is possible to review progress in a widget of a dashboard</p>
<p><img src="http://www.sonarsource.org/wp-content/uploads/2012/01/review_widgets.png" /></p>
<h2>Hotpots 2.0</h2>
<p>The previous release allowed to use hotspot widgets in its own dashboards (see <a href="http://www.sonarsource.org/sonar-2-12-in-screenshots/">Sonar 2.12 in screenshots</a>). It&#8217;s now possible to customize, rename or even delete the default dashboard named &#8220;Hotspots&#8221;.</p>
<p>Time now to <a href="http://www.sonarsource.org/downloads/">give a try</a> to the new version and to read the <a href="http://docs.codehaus.org/display/SONAR/Installation+in+4+steps">installation</a> or <a href="http://docs.codehaus.org/display/SONAR/Upgrade+guide">upgrade</a> guides.</p>
<img src="http://feeds.feedburner.com/~r/Sonar/~4/54GV3gsVpUA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.sonarsource.org/sonar-2-13-in-screenshots/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.sonarsource.org/sonar-2-13-in-screenshots/</feedburner:origLink></item>
	</channel>
</rss>

