The Best .NET Static Analysis Tools (Linters/Formatters)
We rank 11 .NET linters, code analyzers, formatters, and more. Find and compare tools like Mega-Linter, ThreatMapper, Roslyn Analyzers, and more. Please rate and review tools that you've used. This helps others find the best tools for their projects.
2 .NET Tools
Pex and Moles
Pex automatically generates test suites with high code coverage using automated white box analysis.
9 Multi-Language Tools
Mega-Linter
Mega-Linter can handle any type of project thanks to its 70+ embedded Linters, its advanced reporting, runnable on any CI system or locally, with assisted installation and configuration, able to apply formatting and fixes
ThreatMapper
Vulnerability Scanner and Risk Evaluation for containers, serverless and hosts at runtime. ThreatMapper generates runtime BOMs from dependencies and operating system packages, matches against multiple threat feeds, scans for unprotected secrets, and scores issues based on severity and risk-of-exploit.
Offensive 360
Commercial Static Code Analysis system doesn't require building the source code or pre-compilation.
dotenet-format
A code formatter for .NET. Preferences will be read from an .editorconfig
file, if present, otherwise a default set of preferences will be used. At this time dotnet-format is able to format C# and Visual Basic projects with a subset of supported .editorconfig
options.
Code Pulse
Code Pulse is a free real-time code coverage tool for penetration testing activities by OWASP and Code Dx (GitHub).
Veracode
Find flaws in binaries and bytecode without requiring source. Support all major programming languages: Java, .NET, JavaScript, Swift, Objective-C, C, C++ and more.
Help make this list better
Suggest Tools
Frequently Asked Questions
What are .NET tools?
.NET Framework (pronounced as "dot net") is a software framework developed by Microsoft that runs primarily on Microsoft Windows. It includes a large class library called Framework Class Library (FCL) and provides language interoperability (each language can use code written in other languages) across several programming languages.
What are the best .NET static analysis tools and linters?
The most popular .NET tools ranked by user votes are: Mega-Linter, ThreatMapper, Roslyn Analyzers, Offensive 360, CodeRush.
Which .NET services are free for open source projects?
Commercial services with a free plan for open source include Mega-Linter, ThreatMapper, Roslyn Analyzers, dotenet-format, Code Pulse, relint.