The better tool for doing code analysis? RRS feed

  • Question

  • User1821599688 posted

    I am using visual studio 2008, I am trying to do some code analysis for a few projects and am considering FxCorp and StyleCop, I want to know which one is better for doing code analysis?


    Wednesday, July 22, 2009 2:36 PM


  • User1566012831 posted

    FxCop and StyleCop are complementary, not mutually exclusive.  FxCop focuses on code analysis.  StyleCop looks at code style and consistency.  I would suggest starting with FxCop, and then adding StyleCop later if you find you need it.

    Another one to consider is ReSharper by JetBrains, although it's a commercial tool (though with a free trial).  Lately, I've been using the Visual Studio built-in code analysis (derived from, but different than, FxCop) and ReSharper, and have found it to be a good combination.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, July 22, 2009 11:12 PM