Sonar stats per developer

View: New views
9 Messages — Rating Filter:   Alert me  

Sonar stats per developer

by Daniel Wood-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Is there a way in Sonar to get a break down of stats and analytics per each developer working on a codebase?

I.e., code coverage breakdown per developer

 

Thanks,

Daniel


Re: Sonar stats per developer

by Freddy Mallet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Daniel,

Laurent Michenaud, project lead of the Maven Blame Plugin (http://maven-blame-plugin.codehaus.org/), has already asked this question few months ago. Sonar doesn't currently provide any metrics at developer level but there is a kind of temptation to make a step forward (for sure not in 2009). Indeed, to calculate such metrics we "only" need to know who has written a given line of code (the blame command available in subversion, git, ...). Once this information is available, we just have to combine it with all available data : duplicated block lines, covered lines by unit tests, violation lines, comments lines, ....

Perhaps one day ...

Regards,
Freddy


On Fri, Jul 31, 2009 at 1:15 PM, Daniel Wood <Daniel.Wood@...> wrote:

Is there a way in Sonar to get a break down of stats and analytics per each developer working on a codebase?

I.e., code coverage breakdown per developer

 

Thanks,

Daniel



Re: Sonar stats per developer

by Olivier Gaudin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Actually, a ticket exists on this need : http://jira.codehaus.org/browse/SONARPLUGINS-134


Olivier



On Sun, Aug 2, 2009 at 7:44 PM, Freddy Mallet <freddy.mallet@...> wrote:
Hi Daniel,

Laurent Michenaud, project lead of the Maven Blame Plugin (http://maven-blame-plugin.codehaus.org/), has already asked this question few months ago. Sonar doesn't currently provide any metrics at developer level but there is a kind of temptation to make a step forward (for sure not in 2009). Indeed, to calculate such metrics we "only" need to know who has written a given line of code (the blame command available in subversion, git, ...). Once this information is available, we just have to combine it with all available data : duplicated block lines, covered lines by unit tests, violation lines, comments lines, ....

Perhaps one day ...

Regards,
Freddy



On Fri, Jul 31, 2009 at 1:15 PM, Daniel Wood <Daniel.Wood@...> wrote:

Is there a way in Sonar to get a break down of stats and analytics per each developer working on a codebase?

I.e., code coverage breakdown per developer

 

Thanks,

Daniel




RE : Sonar stats per developer

by Laurent Michenaud :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi,

I may have a look on that subject in the month, and
maybe start the developpment.

Best regards
Michenaud Laurent

-------- Message d'origine--------
De: Olivier Gaudin [mailto:gaudol@...]
Date: lun. 03/08/2009 13:03
À: user@...
Objet : Re: [sonar-user] Sonar stats per developer
 
Actually, a ticket exists on this need :
http://jira.codehaus.org/browse/SONARPLUGINS-134


Olivier



On Sun, Aug 2, 2009 at 7:44 PM, Freddy Mallet <freddy.mallet@...>wrote:

> Hi Daniel,
>
> Laurent Michenaud, project lead of the Maven Blame Plugin (
> http://maven-blame-plugin.codehaus.org/), has already asked this question
> few months ago. Sonar doesn't currently provide any metrics at developer
> level but there is a kind of temptation to make a step forward (for sure not
> in 2009). Indeed, to calculate such metrics we "only" need to know who has
> written a given line of code (the blame command available in subversion,
> git, ...). Once this information is available, we just have to combine it
> with all available data : duplicated block lines, covered lines by unit
> tests, violation lines, comments lines, ....
>
> Perhaps one day ...
>
> Regards,
> Freddy
>
>
>
> On Fri, Jul 31, 2009 at 1:15 PM, Daniel Wood <Daniel.Wood@...>wrote:
>
>>  Is there a way in Sonar to get a break down of stats and analytics per
>> each developer working on a codebase?
>>
>> I.e., code coverage breakdown per developer
>>
>>
>>
>> Thanks,
>>
>> Daniel
>>
>
>



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

winmail.dat (4K) Download Attachment

RE: Sonar stats per developer

by Daniel Wood-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

As I have some downtime from my current project, I can also take some time to look at adding the Maven Blame Plugin into Sonar. I've seen Laurent's messages in the mail archive and am currently looking at the developer guide, any other pointers would be appreciated to get me started.

Thanks,
Daniel


Please consider the environment before printing this e-mail. Thank you.
-----Original Message-----
From: Laurent Michenaud [mailto:lmichenaud@...]
Sent: 03 August 2009 12:51
To: user@...
Subject: RE : [sonar-user] Sonar stats per developer

hi,

I may have a look on that subject in the month, and maybe start the developpment.

Best regards
Michenaud Laurent

-------- Message d'origine--------
De: Olivier Gaudin [mailto:gaudol@...]
Date: lun. 03/08/2009 13:03
À: user@...
Objet : Re: [sonar-user] Sonar stats per developer
 
Actually, a ticket exists on this need :
http://jira.codehaus.org/browse/SONARPLUGINS-134


Olivier



On Sun, Aug 2, 2009 at 7:44 PM, Freddy Mallet <freddy.mallet@...>wrote:

> Hi Daniel,
>
> Laurent Michenaud, project lead of the Maven Blame Plugin (
> http://maven-blame-plugin.codehaus.org/), has already asked this
> question few months ago. Sonar doesn't currently provide any metrics
> at developer level but there is a kind of temptation to make a step
> forward (for sure not in 2009). Indeed, to calculate such metrics we
> "only" need to know who has written a given line of code (the blame
> command available in subversion, git, ...). Once this information is
> available, we just have to combine it with all available data :
> duplicated block lines, covered lines by unit tests, violation lines, comments lines, ....
>
> Perhaps one day ...
>
> Regards,
> Freddy
>
>
>
> On Fri, Jul 31, 2009 at 1:15 PM, Daniel Wood <Daniel.Wood@...>wrote:
>
>>  Is there a way in Sonar to get a break down of stats and analytics
>> per each developer working on a codebase?
>>
>> I.e., code coverage breakdown per developer
>>
>>
>>
>> Thanks,
>>
>> Daniel
>>
>
>



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Sonar stats per developer

by Freddy Mallet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Daniel,

If you want to go ahead on this existing plugin, I advice you to make this first and useful baby step :

Create a Sonar plugin which :
  1. Traverse the source directory
  2. Launch the blame command (svn blame, git blame, ...) on each file
  3. Associate to each file (Sonar Resource) a new measure "blame_detail" which contains key/value pairs like "12=freddy.mallet" where 12 is the line number in the source file.
Once done, you will fully benefit from the Sonar power by combining measure on duplicated lines, violations lines, coverage lines by unit tests, ...

Thanks to switch to the Sonar dev mailing list for such discussions.

cheers,
Freddy

PS: http://jira.codehaus.org/browse/SONAR-1041


On Thu, Aug 20, 2009 at 10:25 AM, Daniel Wood <Daniel.Wood@...> wrote:
As I have some downtime from my current project, I can also take some time to look at adding the Maven Blame Plugin into Sonar. I've seen Laurent's messages in the mail archive and am currently looking at the developer guide, any other pointers would be appreciated to get me started.

Thanks,
Daniel


Please consider the environment before printing this e-mail. Thank you.
-----Original Message-----
From: Laurent Michenaud [mailto:lmichenaud@...]
Sent: 03 August 2009 12:51
To: user@...
Subject: RE : [sonar-user] Sonar stats per developer

hi,

I may have a look on that subject in the month, and maybe start the developpment.

Best regards
Michenaud Laurent

-------- Message d'origine--------
De: Olivier Gaudin [mailto:gaudol@...]
Date: lun. 03/08/2009 13:03
À: user@...
Objet : Re: [sonar-user] Sonar stats per developer

Actually, a ticket exists on this need :
http://jira.codehaus.org/browse/SONARPLUGINS-134


Olivier



On Sun, Aug 2, 2009 at 7:44 PM, Freddy Mallet <freddy.mallet@...>wrote:

> Hi Daniel,
>
> Laurent Michenaud, project lead of the Maven Blame Plugin (
> http://maven-blame-plugin.codehaus.org/), has already asked this
> question few months ago. Sonar doesn't currently provide any metrics
> at developer level but there is a kind of temptation to make a step
> forward (for sure not in 2009). Indeed, to calculate such metrics we
> "only" need to know who has written a given line of code (the blame
> command available in subversion, git, ...). Once this information is
> available, we just have to combine it with all available data :
> duplicated block lines, covered lines by unit tests, violation lines, comments lines, ....
>
> Perhaps one day ...
>
> Regards,
> Freddy
>
>
>
> On Fri, Jul 31, 2009 at 1:15 PM, Daniel Wood <Daniel.Wood@...>wrote:
>
>>  Is there a way in Sonar to get a break down of stats and analytics
>> per each developer working on a codebase?
>>
>> I.e., code coverage breakdown per developer
>>
>>
>>
>> Thanks,
>>
>> Daniel
>>
>
>



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




Re: Sonar stats per developer

by bchaplin1 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

how about tracking at the file level and keeping track of the changes to the metrics for that file?
Daniel Wood-4 wrote:
Is there a way in Sonar to get a break down of stats and analytics per each developer working on a codebase?
I.e., code coverage breakdown per developer

Thanks,
Daniel

Re: Sonar stats per developer

by bchaplin1 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

how about tracking at the file level and keeping track of the changes to the metrics for that file?
Daniel Wood-4 wrote:
Is there a way in Sonar to get a break down of stats and analytics per each developer working on a codebase?
I.e., code coverage breakdown per developer

Thanks,
Daniel

Re: Sonar stats per developer

by bchaplin1 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

how about tracking at the file level and keeping track of the changes to the metrics for that file?
Daniel Wood-4 wrote:
Is there a way in Sonar to get a break down of stats and analytics per each developer working on a codebase?
I.e., code coverage breakdown per developer

Thanks,
Daniel