Code Analysis and Metrics

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

Top 23 Code Analysis and Metric Open-Source Projects

  • BenchmarkDotNet

    Powerful .NET library for benchmarking

    Project mention: Exploring Code Performance Testing in C# with BenchmarkDotNet | | 2023-05-19

    BenchmarkDotNet is a popular open-source library that, as stated in the repo's, helps us to transform methods into benchmarks, track their performance, and share reproducible measurement experiments. Using BenchmarkDotNet feels similar to writing unit tests. It's very important to note that the library only works with console apps. Finally, we can visualize the results in the terminal where the benchmark ran or in user-friendly formats such as markdown, HTML and CSV. We will explore examples of there formats later in the article.

  • Scientist

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

    Project mention: Scientist: A Ruby library for carefully refactoring critical paths | | 2022-10-18
  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • SimpleCov

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

    Project mention: Evaluating More Coverage in Ruby 3.2 | | 2023-01-14

    Have you wondered how much of the logic in your views is exercised in your test suite? Thanks to this change, now you can see that in tools like SimpleCov.

  • rails_best_practices

    a code metric tool for rails projects

  • Reek

    Code smell detector for Ruby

    Project mention: Improve Code in Your Ruby Application with RubyCritic | | 2022-10-26

    $ reek app/controllers/erp/orders_controller.rb Inspecting 1 file(s): S app/controllers/erp/orders_controller.rb -- 1 warning: [91]:UncommunicativeVariableName: Erp::OrdersController#create has the variable name 'e' []

  • Rubycritic

    A Ruby code quality reporter

    Project mention: Improve Code in Your Ruby Application with RubyCritic | | 2022-10-26

    You should consider using RubyCritic if you want a single place to review code improvements for your project. Including RubyCritic in your development process will certainly reduce the time a development team spends working on technical debts. Most technical debts will be mapped out at development time.

  • Pronto

    Quick automated code review of your changes

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

  • Coverband

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

    Project mention: Dead code or unused code removal in ruby on rails. | | 2022-09-09


  • App.Metrics

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

  • 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 | | 2023-01-13

    Or as an alternative use CodeMaid.

  • Fasterer

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

  • Barkeep

    The friendly code review system.

  • suture

    🏥 A Ruby gem that helps you refactor your legacy code

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

    See the following page

  • Cane

    Code quality threshold checking as part of your build

  • StyleCop

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

    Project mention: Refactor suggestions? | | 2023-02-26

    If you are wanting to enforce rules then maybe stylecop will work?

  • Traceroute

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

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

    Project mention: Flog-Driven Development | | 2023-05-16

    You point flog to a file, or directory, and it provides you with a score. The higher the score, the more attention you might want to pay to it. As for how flog calculates the number, I'll let flog summarize itself again:

  • 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: Improve Code in Your Ruby Application with RubyCritic | | 2022-10-26

    Flay identifies structural Ruby code similarities, including:

  • undercover

    Actionable code coverage - detects untested code blocks in recent changes

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

  • MetricFu

    A fist full of code metrics

    Project mention: Gems that can identify churn, complexity, duplication and smells. | | 2022-08-06


  • ameba

    A static code analysis tool for Crystal

    Project mention: Open Source Adventures: Episode 76: Ameba linter for Crystal | | 2022-07-18

    Ameba is a linter for Crystal.


    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

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-05-19.

Code Analysis and Metrics related posts


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

Project Stars
1 BenchmarkDotNet 9,034
2 Scientist 6,982
3 SimpleCov 4,599
4 rails_best_practices 4,087
5 Reek 3,907
6 Rubycritic 3,162
7 Pronto 2,551
8 Coverband 2,214
9 App.Metrics 2,162
10 CodeMaid 1,777
11 Fasterer 1,695
12 Barkeep 1,426
13 suture 1,397
14 .NET Compiler Platform ("Roslyn") Analyzers 1,393
15 Cane 1,327
16 StyleCop 1,131
17 Traceroute 857
18 Flog 843
19 Flay 690
20 undercover 639
21 Metrics-Net 632
22 MetricFu 613
23 ameba 465
ONLYOFFICE Docs — document collaboration in your environment
Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises