DCSIMG
Code Analysis - Maor's Blog

Browse by Tags

Suppress Code Analysis Warnings In Code
Code analysis provides a way of making sure our assemblies don’t violate the programming and design rules set forth in the Microsoft .NET Framework Design Guidelines (including issues related to Globalization, Security, Performance, Portability, and many more).  We can run code analysis from the IDE and from MSBuild. To do it, we first have to turn on Code Analysis from within the IDE. To do it we have to open the project properties, and in the Project designer, we should select the Code Analysis...
Microsoft Source Analysis for C#
Microsoft announce the public release of a new developer tool -  Source Analysis for C# . Inside Microsoft this tool's name is StyleCop and it enforces code style guidelines on the code we write Source Analysis comes with a set of default rules analyzers covering approximately 200 best practice rules. These rules are full compatible with the default layout settings in Visual Studio 2005 and Visual Studio 2008. Specifically, these rules cover the following, in no particular order: Layout...
NDepend - Great Static Analyzer
Few week ago, I've been asked by Patrick Smacchia , a C# MVP to try this tool. I really want to thanks Patrick to give me the chance to evaluate a professional edition. I installed it and start working with. After using this tool, it's my most favorite tool to reviewing my code! NDepend is an excellent tool that is designed to provide a very deep analysis of your compiled code to help you understand and control your development effort by managing both the quality and the complexity of your...
Code Analysis in VS 2008
VS 2005 introduced internal static analysis tools. This helps you to write secure and quality code. Visual Studio 2008 has new Code Analysis features: Code Metrics - This gives you the ability to dig deep to find those un-maintainable and complex hotspots. Code Metrics will ship with five metrics - Cyclomatic Complexity , Depth of Inheritance, Class Coupling , Lines of Code and Maintainability Index. Analysis improvements: Support for analyzing anonymous methods and lambda expressions Reduced noise...

Search

Go

This Blog

News

    RSS

     

    Connect with Me

    Maor's Facebook profile  Follow Maor on Twitter  Maor's profile on Linkedin  Maor in FriendFeed 
           

Syndication