Code Analysis and Metrics

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

Top 23 Code Analysis and Metric Open-Source Projects

Code Analysis and Metrics
  1. BenchmarkDotNet

    Powerful .NET library for benchmarking

    Project mention: Testable Dotfiles Management: Building Development Environment with Chezmoi | dev.to | 2025-10-06

    Benchmark.Net for .Net projects

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. Scientist

    :microscope: A Ruby library for carefully refactoring critical paths.

  4. SimpleCov

    Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites

  5. rails_best_practices

    a code metric tool for rails projects

  6. Reek

    Code smell detector for Ruby

  7. Rubycritic

    A Ruby code quality reporter

  8. Coverband

    Ruby production code coverage collection and reporting (line of code usage)

  9. Pronto

    Quick automated code review of your changes

  10. App.Metrics

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

  11. 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.

  12. Fasterer

    :zap: Don't make your Rubies go fast. Make them go fasterer ™. :zap:

  13. suture

    🏥 A Ruby gem that helps you refactor your legacy code

  14. Cane

    Code quality threshold checking as part of your build

  15. StyleCop

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

  16. Flog

    Flog reports the most tortured code in an easy to read pain report. The higher the score, the more pain the code is in.

  17. Traceroute

    A Rake task gem that helps you find the unused routes and controller actions for your Rails 3+ app

  18. undercover

    undercover warns about methods, classes and blocks that were changed without tests, to help you easily find untested code and reduce the number of bugs. It does so by analysing data from git diffs, code structure and SimpleCov coverage reports

  19. Flay

    Flay analyzes code for structural similarities. Differences in literal values, variable, class, method names, whitespace, programming style, braces vs do/end, etc are all ignored.

    Project mention: Every layer of review makes you 10x slower | news.ycombinator.com | 2026-03-18

    You absolutely do not need AI for that. You need ASTs.

    In Ruby we have the Flay gem, for example.

    https://github.com/seattlerb/flay

  20. 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.

  21. MetricFu

    A fist full of code metrics

  22. ameba

    A static code analysis tool for Crystal

  23. bundler-leak

    Known-leaky gems verification for bundler: `bundle leak` to check your app and find leaky gems in your Gemfile :gem::droplet:

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).

Code Analysis and Metrics discussion

Log in or Post with

Code Analysis and Metrics related posts

  • Every layer of review makes you 10x slower

    1 project | news.ycombinator.com | 18 Mar 2026
  • Various .NET Benchmarks

    2 projects | dev.to | 28 Mar 2025
  • Minimal API Performance Benchmark

    2 projects | dev.to | 27 Jan 2025
  • The efficient way to measure time in .NET

    4 projects | dev.to | 4 Jan 2025
  • Default Interface Implementations in C#: Where Inheritance Goes to Troll You

    2 projects | dev.to | 9 Dec 2024
  • Practical approach to software complexity

    1 project | dev.to | 29 Oct 2024
  • The flog gem reports the most tortured code in an easy to read pain report

    1 project | news.ycombinator.com | 7 Oct 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 10 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 BenchmarkDotNet 11,421
2 Scientist 7,719
3 SimpleCov 4,901
4 rails_best_practices 4,168
5 Reek 4,124
6 Rubycritic 3,492
7 Coverband 2,680
8 Pronto 2,669
9 App.Metrics 2,248
10 CodeMaid 1,979
11 Fasterer 1,820
12 .NET Compiler Platform ("Roslyn") Analyzers 1,670
13 suture 1,409
14 Cane 1,306
15 StyleCop 1,225
16 Flog 963
17 Traceroute 905
18 undercover 838
19 Flay 759
20 Metrics-Net 639
21 MetricFu 625
22 ameba 560
23 bundler-leak 294

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Ruby is
the 13th most popular programming language
based on number of references?