[jbosstools-issues] [JBoss JIRA] (JBIDE-10777) Use Sonar for Code Quality Analysis

Mickael Istria (JIRA) jira-events at lists.jboss.org
Tue Jan 29 06:04:47 EST 2013


    [ https://issues.jboss.org/browse/JBIDE-10777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750981#comment-12750981 ] 

Mickael Istria commented on JBIDE-10777:
----------------------------------------

Hey [~ldimaggio] (and others), I found a workaround for Eclipse bug 397996 which I did set up in parent pom (removing sourceDirectory tag which is useless to set in the Tycho world).
So you can see a running job here: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-4.1_trunk.sonar--webservices/configure , you'll notice it's the same as any job except it doesn't do any publishing, and adds an invocation of Sonar plugin. See in the configuration of the Sonar plugin the setting of maven.repo.local and sonar.jacoco.reportPath.
Then you can see code analysis reports + coverage reports here: http://sonar.mw.lab.eng.bos.redhat.com/sonar/dashboard/index/org.jboss.tools:ws

It now seems to me that there is no technical issue preventing us from using Sonar. We now need to decide of how we'll use it.

Adding [~vpakan] to recipients for this issue since he was interested in Sonar.
                
> Use Sonar for Code Quality Analysis
> -----------------------------------
>
>                 Key: JBIDE-10777
>                 URL: https://issues.jboss.org/browse/JBIDE-10777
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Build/Releng
>    Affects Versions: 3.1.2
>         Environment: any
>            Reporter: Mickael Istria
>            Assignee: Mickael Istria
>            Priority: Minor
>             Fix For: LATER
>
>   Original Estimate: 1 week
>  Remaining Estimate: 1 week
>
> Sonar provides a very powerful tool to get report about tests, code coverage, and static analysis in a project (errors, duplications...). It is easy to use, there is a nice integration with Maven and Hudson/Jenkins. It provides reporting tools for everything existing in the Java world, and more.
> Adding Sonar to Hudson really helps to make code better.
> http://www.sonarsource.org/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list