Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 40561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T15:02:35+00:00 2026-05-10T15:02:35+00:00

What tools are there available for static analysis against C# code? I know about

  • 0

What tools are there available for static analysis against C# code? I know about FxCop and StyleCop. Are there others? I’ve run across NStatic before but it’s been in development for what seems like forever – it’s looking pretty slick from what little I’ve seen of it, so it would be nice if it would ever see the light of day.

Along these same lines (this is primarily my interest for static analysis), tools for testing code for multithreading issues (deadlocks, race conditions, etc.) also seem a bit scarce. Typemock Racer just popped up so I’ll be looking at that. Anything beyond this?

Real-life opinions about tools you’ve used are appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T15:02:35+00:00Added an answer on May 10, 2026 at 3:02 pm

    Code violation detection Tools:

    • FxCop, excellent tool by Microsoft. Check compliance with .NET framework guidelines.

      Edit October 2010: No longer available as a standalone download. It is now included in the Windows SDK and after installation can be found in Program Files\Microsoft SDKs\Windows\ [v7.1] \Bin\FXCop\FxCopSetup.exe

      Edit February 2018: This functionality has now been integrated into Visual Studio 2012 and later as Code Analysis

    • Clocksharp, based on code source analysis (to C# 2.0)

    • Mono.Gendarme, similar to FxCop but with an open source licence (based on Mono.Cecil)

    • Smokey, similar to FxCop and Gendarme, based on Mono.Cecil. No longer on development, the main developer works with Gendarme team now.

    • Coverity Prevent™ for C#, commercial product

    • PRQA QA·C#, commercial product

    • PVS-Studio, commercial product

    • CAT.NET, visual studio addin that helps identification of security flaws Edit November 2019: Link is dead.

    • CodeIt.Right

    • Spec#

    • Pex

    • SonarQube, FOSS & Commercial options to support writing cleaner and safer code.

    Quality Metric Tools:

    • NDepend, great visual tool. Useful for code metrics, rules, diff, coupling and dependency studies.
    • Nitriq, free, can easily write your own metrics/constraints, nice visualizations. Edit February 2018: download links now dead. Edit June 17, 2019: Links not dead.
    • RSM Squared, based on code source analysis
    • C# Metrics, using a full parse of C#
    • SourceMonitor, an old tool that occasionally gets updates
    • Code Metrics, a Reflector add-in
    • Vil, old tool that doesn’t support .NET 2.0. Edit January 2018: Link now dead

    Checking Style Tools:

    • StyleCop, Microsoft tool ( run from inside of Visual Studio or integrated into an MSBuild project). Also available as an extension for Visual Studio 2015 and C#6.0
    • Agent Smith, code style validation plugin for ReSharper

    Duplication Detection:

    • Simian, based on source code. Works with plenty languages.
    • CloneDR, detects parameterized clones only on language boundaries (also handles many languages other than C#)
    • Clone Detective a Visual Studio plugin (which uses ConQAT internally)
    • Atomiq, based on source code, plenty of languages, cool "wheel" visualization

    General Refactoring tools

    • ReSharper – Majorly cool C# code analysis and refactoring features
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 118k
  • Answers 118k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Which version of SubSonic are you using? IIRC, Save() in… May 11, 2026 at 11:36 pm
  • Editorial Team
    Editorial Team added an answer You should remove the element, change it, and re-insert, since… May 11, 2026 at 11:36 pm
  • Editorial Team
    Editorial Team added an answer Something like this should work: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"… May 11, 2026 at 11:36 pm

Related Questions

None of the guides/notes/articles that discuss IDisposable pattern suggest that one should set the
What tools are available for metamodelling? Especially for developing diagram editors, at the moment
My organization is working on building RESTful webservices on JBoss appserver. The QA team
Does anyone ever use stopwatch benchmarking, or should a performance tool always be used?

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.