[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sonar-user
Subject:    Re: [sonar-user] Sonar Cobertura - Overall coverage formula
From:       Evgeny Mandrikov <mandrikov () gmail ! com>
Date:       2012-06-30 5:18:18
Message-ID: CAEPFu699aT26sAS_BAxq05HNJ9ez9QS7+XX71bjnqbmQ=tQ8Rg () mail ! gmail ! com
[Download RAW message or body]

Hi,

This question is asked a lot of times, so before asking - try to search :
http://lmgtfy.com/?q=sonar+coverage+calculation+formula
http://docs.codehaus.org/display/SONAR/Java+Metric+Definitions

On Sat, Jun 30, 2012 at 3:58 AM, Venkat4tech <vgintu@gmail.com> wrote:

> Hello Sonar Users,
>  how does sonar calculates overall coverage ?
> Cobertura provides line coverage and branch coverage.
> When I publish the cobertura report to Sonar, it comes with overall
> coverage.
>
> Do you know what formula is used in this one.
>
> eg numbers:
>
> Code coverage
> 52.7%
> 57.1% line coverage
> 45.9% branch coverage
>
> --
> View this message in context:
> http://sonar.15.n6.nabble.com/Sonar-Cobertura-Overall-coverage-formula-tp5000447.html
> Sent from the Sonar user mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>


-- 
Best regards,
Evgeny Mandrikov aka Godin <http://godin.net.ru>
http://twitter.com/_godin_

[Attachment #3 (text/html)]

Hi,<div><br></div><div>This question is asked a lot of times, so before asking - try \
to search :  <a href="http://lmgtfy.com/?q=sonar+coverage+calculation+formula">http://lmgtfy.com/?q=sonar+coverage+calculation+formula</a> \
<a href="http://docs.codehaus.org/display/SONAR/Java+Metric+Definitions">http://docs.codehaus.org/display/SONAR/Java+Metric+Definitions</a></div>


<div><br><div class="gmail_quote">On Sat, Jun 30, 2012 at 3:58 AM, Venkat4tech <span \
dir="ltr">&lt;<a href="mailto:vgintu@gmail.com" \
target="_blank">vgintu@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">

Hello Sonar Users,<br>
  how does sonar calculates overall coverage ?<br>
Cobertura provides line coverage and branch coverage.<br>
When I publish the cobertura report to Sonar, it comes with overall<br>
coverage.<br>
<br>
Do you know what formula is used in this one.<br>
<br>
eg numbers:<br>
<br>
Code coverage<br>
52.7%<br>
57.1% line coverage<br>
45.9% branch coverage<br>
<br>
--<br>
View this message in context: <a \
href="http://sonar.15.n6.nabble.com/Sonar-Cobertura-Overall-coverage-formula-tp5000447.html" \
target="_blank">http://sonar.15.n6.nabble.com/Sonar-Cobertura-Overall-coverage-formula-tp5000447.html</a><br>



Sent from the Sonar user mailing list archive at Nabble.com.<br>
<br>
---------------------------------------------------------------------<br>
To unsubscribe from this list, please visit:<br>
<br>
      <a href="http://xircles.codehaus.org/manage_email" \
target="_blank">http://xircles.codehaus.org/manage_email</a><br> <br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards,<br>Evgeny \
Mandrikov aka Godin &lt;<a href="http://godin.net.ru" \
target="_blank">http://godin.net.ru</a>&gt;<br><a href="http://twitter.com/_godin_" \
target="_blank">http://twitter.com/_godin_</a><br>


</div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic