A list of free and open source C# and .NET tools, plugins and libraries for code analysers, static analysers, code benchmarking and metrics. Sourced under a creative commons. This list will be updated regularly. Email over the URL, if you wish to be included.

C# – code analysers, static analysers, code benchmarking and metrics

  • .NET Compiler Platform (“Roslyn”) Analyzers – A number of Roslyn diagnostic analyzers initially developed to help flesh out the design and implementation of the static analysis APIs.
  • PVS-Studio – PVS-Studio is a static analyzer on guard of code quality, security (SAST), and code safety. [Free for OSS] [$]
  • NDepend – is a Visual Studio and VS Team Services extension that estimates your .NET code quality and Technical-Debt, that lets create code rules with C# LINQ syntax, visualize code structure and focus on changes and evolution. [$]
  • App.Metrics – App Metrics is an open-source and cross-platform .NET library used to record and report metrics within an application and reports it’s health. See the docs for me details.
  • CodeMaid – Visual studio extension to cleanup, dig through and simplify C#, C++, F#, VB, PHP, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.
  • StyleCop – StyleCop analyzes C# source code to enforce a set of style and consistency rules
  • Gendarme – Extensible rule-based tool to find problems in .NET applications and libraries
  • Metrics-Net – Capturing CLR and application-level metrics. So you know what’s going on.
  • AspNet.Metrics – Capturing CLR, application-level web request metrics. Middleware and extensions using Metrics-Net
  • BenchmarkDotNet – Powerful .NET library for benchmarking.
  • Bencher – Suite of continuous benchmarking tools designed to catch performance regressions in CI.
  • Codinion – Enhanced syntax highlighting for C# and some other “Visual” features. [$]
  • NsDepCop – Static code analysis tool to enforce namespace dependency rules in C# projects.
  • WebBen – Is a tool for benchmarking your Hypertext Transfer Protocol (HTTP) server.

Tags: c#, open source, c# tools, c# plugins, c# libraries, c# code analysers, c# static analysers, c# code benchmarking, c# code metrics, c# .net, c# extensions, c# code debuggers, .net benchmarking, .net static analysers, .net code analysers, asp.net tools, asp.net plugins, asp.net libraries,

Image: Unsplash License.