Re: FxCop does anyone use it ?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Soren,

It has sense and nonsense, you have to finetune the tool I guess:

For instance it founds out if you catch Exception if you could have
catched more specific Exceptions.

But also it tells us that we cant use three Capitals behind each other
for namespace names while our company is known by those capitals..

Rick


On Tue, 10 May 2005 08:17:10 -0700, "Frank Hileman"
<frankhil@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

>We use it, and we think it is great. However, the guidelines have evolved at
>the same time we developed our framework, so we find "new" warnings on old
>code often when we upgrade FxCop. Internal MS code breaks many guidelines.
>
>Despite these problems, it is a great tool. It has found many small
>usability, performance, and localization problems in our API and our code in
>general. We could never have complied to so many guidelines without FxCop.
>You will notice that new warnings come out in bold, so they are easier to
>track -- and generally more important.
>
>Regards,
>Frank Hileman
>
>check out VG.net: http://www.vgdotnet.com
>Animated vector graphics system
>Integrated Visual Studio .NET graphics editor
>
>"Søren Reinke" <soren@xxxxxxxxxxxxxxxxxx> wrote in message
>news:d5pv4b$2oua$1@xxxxxxxxxxxxxxxxxxxxxxx
>> Hi there
>>
>> I have played around a bit with FxCop.
>>
>> Does anyone use it ? Some of the warning/errors it gives are okay, when
>> there are implementation errors, but i think it is annoying it keeps
>> complaining about how i case my variables and more.
>>
>> What is your oppinion about the program ?
>>
>>
>> --
>> Søren Reinke
>> www.Xray-Mag.com/ - Your free diving magazin on the netDownload it in PDF
>

.



Relevant Pages

  • Re: FxCop does anyone use it ?
    ... Internal MS code breaks many guidelines. ... We could never have complied to so many guidelines without FxCop. ... You will notice that new warnings come out in bold, ... Animated vector graphics system ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Catching generic exceptions
    ... Thanks for the input it is interesting to hear of other peoples experience with FxCop. ... >have to display the exception in a user friendly way. ... >exceptions in a other pieces of code that are non-GUI applications or do not ... This allows you to ignore the specific warnings only in the ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Exceptions - what do they mean?
    ... Now I'm wondering they why's and whens of exception throwing. ... more like warnings, or state notifications. ... the client programmer gets warnings popping up that they don't want. ... string in an error message to a user. ...
    (comp.lang.php)
  • Re: FxCop being a bit OTT?
    ... Dave wrote: ... I'm using FxCop to go through my code and it's showing bad things in my code. ... It is saying that you should never ever catch a general exception, and since in my foolishness I'm catching all errors in my user interface I've got a fair few of these in my code. ... I'm doing this so that if a user presses a button if for some reason my code fails the worst case scenario for the user is either a usefull error message of a generic one asking them to send in an error log file rather than having the whole application fall over because I missed a pottential exception. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Minimum permissions for Microsoft Exception Application Block
    ... FxCop plug-ins that utilize its call graph and other analysis ... > The minimum permissions have been identified for other application blocks ... > permissions should be for the exception block? ... >> Is there a tool that would examine my assemblies in a Visual Studio ...
    (microsoft.public.dotnet.security)