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

List:       sonar-dev
Subject:    Re: [sonar-dev] Sonar PHP and Code coverage based on pdepend
From:       Fabrice Bellingard <fabrice.bellingard () sonarsource ! com>
Date:       2013-05-30 8:22:36
Message-ID: CA+PhQbsE0H_-MnP7OH8CFs82G-0FvPDJRGt_sEEJBX=UKRypAQ () mail ! gmail ! com
[Download RAW message or body]

Hi,

because you specify "sonar.sources=.", the "Tests" folder is included in
the sources by Sonar (even if "sonar.tests=Tests" is specified). So you
should add the "sonar.exclusions=Tests/**/*.*" property to fix your case.


Best regards,

 *Fabrice BELLINGARD | SonarSource**
*http://sonarsource.com


On Wed, May 29, 2013 at 3:46 PM, s4int <mmierz@gmail.com> wrote:

> Hi,
>
> When I run sonar only for pdepend analysis of php project the code coverage
> is filled with 0%.
>
> I thought this is a bug: http://jira.codehaus.org/browse/SONARPLUGINS-2890
>
> Why pdepend updates code coverage?
>
>
>
> --
> View this message in context:
> http://sonar.15.x6.nabble.com/Sonar-PHP-and-Code-coverage-based-on-pdepend-tp5012831.html
> Sent from the Sonar dev mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>

[Attachment #3 (text/html)]

<div dir="ltr">Hi,<div><br></div><div style>because you specify &quot;<span \
style="color:rgb(0,0,0);font-size:13px;line-height:1.3em">sonar.sources=.</span>&quot;, \
the &quot;Tests&quot; folder is included in the sources by Sonar (even if \
&quot;sonar.tests=Tests&quot; is specified). So you should add the \
&quot;sonar.exclusions=Tests/**/*.*&quot; property to fix your case.</div>

</div><div class="gmail_extra"><br clear="all"><div><span \
style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><div><br></div><div>Best \
regards,</div><div><br></div><div><table width="100%" border="0" cellspacing="0" \
cellpadding="0" style="color:rgb(34,34,34);background-color:rgb(255,255,255);font-family:&#39;Times \
New Roman&#39;">

<tbody><tr><td style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-family:arial,sans-serif"></td></tr><tr><td \
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-family:arial,sans-serif">


<div style="font-family:Arial,Helvetica,sans-serif;font-size:12px"><strong>Fabrice \
BELLINGARD | <font color="#C30C00">SonarSource</font></strong><font \
color="#666666"><i><br></i></font><a href="http://sonarsource.com/" \
style="color:rgb(195,12,0)" target="_blank">http://sonarsource.com</a></div>

</td></tr></tbody></table></div></span></div>
<br><br><div class="gmail_quote">On Wed, May 29, 2013 at 3:46 PM, s4int <span \
dir="ltr">&lt;<a href="mailto:mmierz@gmail.com" \
target="_blank">mmierz@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">

Hi,<br>
<br>
When I run sonar only for pdepend analysis of php project the code coverage<br>
is filled with 0%.<br>
<br>
I thought this is a bug: <a href="http://jira.codehaus.org/browse/SONARPLUGINS-2890" \
target="_blank">http://jira.codehaus.org/browse/SONARPLUGINS-2890</a><br> <br>
Why pdepend updates code coverage?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a \
href="http://sonar.15.x6.nabble.com/Sonar-PHP-and-Code-coverage-based-on-pdepend-tp5012831.html" \
target="_blank">http://sonar.15.x6.nabble.com/Sonar-PHP-and-Code-coverage-based-on-pdepend-tp5012831.html</a><br>



Sent from the Sonar dev 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></div>



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

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