meziantou/Meziantou.Analyzer
A powerful C# Roslyn analyzer that uses static analysis to detect bugs, surface security issues, and enforce best practices—helping developers and AI write more reliable code. observed · 2026-09-03
Health v2 · maintenance only
96/100
- Activity 100
- Release rhythm 88
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0.0
- age_days: 2821
- days_rel: 0
- days_push: 0
- n_releases_24m: 339
Adoption not part of the score
1187 stars · 70 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Meziantou.Analyzer is a C# Roslyn analyzer distributed as a NuGet package that performs static analysis to detect bugs, security issues, and violations of best practices, with many rules offering automated code fixes. It ships a large set of configurable rules (MA0001+) covering usage, style, performance, design, and security categories.
Use cases
- enforce C# best practices across a codebase
- detect bugs and security issues like missing regex timeouts at compile time
- add automated code fixes for common C# mistakes
- improve code quality in CI builds via Roslyn analyzers
- help AI-assisted coding write more reliable C#
- compare and complement other .NET analyzers without duplicate rules
When to choose
- you maintain a C#/.NET codebase and want broad, actively maintained analyzer rules
- you want code fixes integrated into the IDE and build
- you need security-focused checks such as regex evaluation timeouts
When to avoid
- your project is not on .NET/Roslyn
- you only need formatting or linting outside the compiler pipeline
Facets
library · maturity active
linter code-review security developer-tools developer-tools programming-languages security testing dotnet cross-platform roslyn-analyzer csharp static-analysis code-quality nuget code-fixes
6 sources
- readme: https://github.com/meziantou/Meziantou.Analyzer · fetched 2026-09-03 · 0016cc32d042
- homepage: https://www.meziantou.net/ · fetched 2026-08-29 · 5bade24b7f60
- site_page: https://www.meziantou.net/about.htm · fetched 2026-08-29 · 69b46de02b62
- site_page: https://www.meziantou.net/links-about-multithreading-in-dotnet.htm · fetched 2026-08-29 · ebb91c9f24d0
- site_page: https://www.meziantou.net/limit-what-nuget-packages-can-do-in-your-project.htm · fetched 2026-08-29 · 9a33da42b80e
- site_page: https://www.meziantou.net/you-can-use-newline-characters-in-urls.htm · fetched 2026-08-29 · c358fe52d1f3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| meziantou/Meziantou.Analyzer | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="meziantou/Meziantou.Analyzer")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem