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

List:       sonar-dev
Subject:    Re: [sonar-dev] Are 'sonar.fxcop.mode=reuseReport' and 'sonar.cs.fxcop.mode=skip' supported
From:       Dinesh Bolkensteyn <dinesh.bolkensteyn () sonarsource ! com>
Date:       2015-02-18 8:47:38
Message-ID: CAA06TwMu8dBKhiQP55Y1owuqV6kAsvfjjiNFHP+k9ZarjQmhgw () mail ! gmail ! com
[Download RAW message or body]

Hi,

You can skip the execution of FxCop on a specific project by using another
Quality Profile for it, that does not contain any FxCop rule.

Indeed, it is important for the evolution of a project's technical debt to
be trackable over time.
Changes in the rules that are applied during the analysis has an obvious
impact on the technical debt, and therefore should be tracked.

The "sonar.fxcop.mode" property did not allow that, and was therefore
removed.
For example, with the reuseReports mode, you could launch just 1 or 2
rules, whereas in SonarQube all FxCop rules are enabled.
Skipping the FxCop analysis fully when all FxCop rules are enabled in
SonarQube is obviously deceiving.

The reuseReports mode should not be required, as SonarQube is able to drive
FxCop's execution.

Kind regards,

Dinesh Bolkensteyn
www.SonarSource.com <http://www.sonarsource.com/>
twitter.com/DBolkensteyn <http://www.SonarSource.com>

On Wed, Feb 18, 2015 at 9:12 AM, Shrinath Gupta <gupta.shrinath@gmail.com>
wrote:

>
> Hi All
>
> Are 'sonar.fxcop.mode=reuseReport'  and 'sonar.cs.fxcop.mode=skip'
> supported in following environment setup:
>
> SonarQube 4.5.2 (Sonar Runner 2.4) with C# plugin version 3.3 and
> sonar-fxcop-library version 1.2
>
> If not , why they are no longer supported? Because i think these are very
> important switches.
>
> Thanks in advance!!!
> --
> Regards,
> Shrinath
>

[Attachment #3 (text/html)]

<div dir="ltr"><div>Hi,</div><div><br></div><div>You can skip the execution of FxCop \
on a specific project by using another Quality Profile for it, that does not contain \
any FxCop rule.</div><div><br></div><div>Indeed, it is important for the evolution of \
a project&#39;s technical debt to be trackable over time.</div><div>Changes in the \
rules that are applied during the analysis has an obvious impact on the technical \
debt, and therefore should be tracked.</div><div><br></div><div>The \
&quot;sonar.fxcop.mode&quot; property did not allow that, and was therefore \
removed.</div><div>For example, with the reuseReports mode, you could launch just 1 \
or 2 rules, whereas in SonarQube all FxCop rules are enabled.</div><div>Skipping the \
FxCop analysis fully when all FxCop rules are enabled in SonarQube is obviously \
deceiving.</div><div><br></div><div>The reuseReports mode should not be required, as \
SonarQube is able to drive FxCop&#39;s execution.</div><div><br></div><div>Kind \
regards,</div></div><div class="gmail_extra"><br clear="all"><div><div \
class="gmail_signature"><div dir="ltr"><div><span \
style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">Dinesh \
Bolkensteyn<br></span><span \
style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><a \
href="http://www.sonarsource.com/" \
target="_blank">www.SonarSource.com</a></span><br><a \
href="http://twitter.com/DBolkensteyn" \
target="_blank">twitter.com/DBolkensteyn</a><span \
style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"></span><span \
style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><a \
href="http://www.SonarSource.com" \
target="_blank"></a></span><br></div></div></div></div> <br><div \
class="gmail_quote">On Wed, Feb 18, 2015 at 9:12 AM, Shrinath Gupta <span \
dir="ltr">&lt;<a href="mailto:gupta.shrinath@gmail.com" \
target="_blank">gupta.shrinath@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"><div dir="ltr"><br clear="all"><div><span \
style="font-size:12.8px">Hi All</span><div style="font-size:12.8px"><br></div><div \
style="font-size:12.8px"><div>Are &#39;sonar.fxcop.mode=reuseReport&#39;   and \
&#39;sonar.cs.fxcop.mode=skip&#39; supported in following environment \
setup:</div><div><br></div><div>SonarQube 4.5.2 (Sonar Runner 2.4) with C# plugin \
version 3.3 and sonar-fxcop-library version 1.2<br></div><div><br></div><div>If not , \
why they are no longer supported? Because i think these are very important \
switches.</div><div><br></div><div>Thanks in advance!!!</div></div></div><span \
class="HOEnZb"><font color="#888888">-- <br><div><div>Regards,</div> \
<div>Shrinath</div></div> </font></span></div>
</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