C# Code Analysis and Metrics

Open-source C# projects categorized as Code Analysis and Metrics

Top 10 C# Code Analysis and Metric Projects

  • BenchmarkDotNet

    Powerful .NET library for benchmarking

    Project mention: Is it normal to take 2000ms (local host) when calling another controller? asp.net core 6 | reddit.com/r/csharp | 2023-03-14

    Use dotTrace or BenchmarkDotNet

  • App.Metrics

    App Metrics is an open-source and cross-platform .NET library used to record and report metrics within an application.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • CodeMaid

    CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.

    Project mention: how to bring order to a legacy codebase using editorconfig and dotnet format? it is only fixing whitespace issues | reddit.com/r/csharp | 2023-01-13

    Or as an alternative use CodeMaid.

  • Project mention: Microsoft.CodeAnalysis.BannedApiAnalyzers | dev.to | 2023-03-19

    See the following page

  • StyleCop

    Analyzes C# source code to enforce a set of style and consistency rules.

    Project mention: Refactor suggestions? | reddit.com/r/dotnet | 2023-02-26

    If you are wanting to enforce rules then maybe stylecop will work? https://github.com/StyleCop/StyleCop

  • Metrics-Net

    The Metrics.NET library provides a way of instrumenting applications with custom metrics (timers, histograms, counters etc) that can be reported in various ways and can provide insights on what is happening inside a running application.

  • NsDepCop

    NsDepCop is a static code analysis tool that helps to enforce namespace dependency rules in C# projects. No more unplanned or unnoticed dependencies in your system.

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • CsharpMacros

    A simple template base system of macros for C# that can be executed in design time

  • WebBen

    Cross platform HTTP server benchmark tool

  • AspNet.Metrics

    No longer maintained, instead see - https://github.com/alhardy/AppMetrics/

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-03-19.

C# Code Analysis and Metrics related posts


What are some of the best open-source Code Analysis and Metric projects in C#? This list will help you:

Project Stars
1 BenchmarkDotNet 8,799
2 App.Metrics 2,144
3 CodeMaid 1,761
4 .NET Compiler Platform ("Roslyn") Analyzers 1,357
5 StyleCop 1,131
6 Metrics-Net 628
7 NsDepCop 150
8 CsharpMacros 54
9 WebBen 10
10 AspNet.Metrics 9
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives