Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises Learn more →
Top 23 Code Analysis and Metric Open-Source Projects
Powerful .NET library for benchmarkingProject mention: Exploring Code Performance Testing in C# with BenchmarkDotNet | dev.to | 2023-05-19
BenchmarkDotNet is a popular open-source library that, as stated in the repo's README.md, 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.
:microscope: A Ruby library for carefully refactoring critical paths.Project mention: Scientist: A Ruby library for carefully refactoring critical paths | news.ycombinator.com | 2022-10-18
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.
Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suitesProject mention: Evaluating More Coverage in Ruby 3.2 | dev.to | 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.
a code metric tool for rails projects
Code smell detector for Ruby
$ reek app/controllers/erp/orders_controller.rb Inspecting 1 file(s): S app/controllers/erp/orders_controller.rb -- 1 warning: :UncommunicativeVariableName: Erp::OrdersController#create has the variable name 'e' [https://github.com/troessner/reek/blob/v6.1.1/docs/Uncommunicative-Variable-Name.md]
A Ruby code quality reporter
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.
Quick automated code review of your changes
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.
Ruby production code coverage collection and reporting (line of code usage)Project mention: Dead code or unused code removal in ruby on rails. | reddit.com/r/rubyonrails | 2022-09-09
App Metrics is an open-source and cross-platform .NET library used to record and report metrics within an application.
Or as an alternative use CodeMaid.
:zap: Don't make your Rubies go fast. Make them go fasterer ™. :zap:
The friendly code review system.
🏥 A Ruby gem that helps you refactor your legacy code
Project mention: Microsoft.CodeAnalysis.BannedApiAnalyzers | dev.to | 2023-03-19
See the following page
Code quality threshold checking as part of your build
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
A Rake task gem that helps you find the unused routes and controller actions for your Rails 3+ app
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 | dev.to | 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 analyzes code for structural similarities. Differences in literal values, variable, class, method names, whitespace, programming style, braces vs do/end, etc are all ignored.
Flay identifies structural Ruby code similarities, including:
Actionable code coverage - detects untested code blocks in recent changes
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.
A fist full of code metricsProject mention: Gems that can identify churn, complexity, duplication and smells. | reddit.com/r/rails | 2022-08-06
A static code analysis tool for CrystalProject mention: Open Source Adventures: Episode 76: Ameba linter for Crystal | dev.to | 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
Code Analysis and Metrics related posts
Exploring Code Performance Testing in C# with BenchmarkDotNet
3 projects | dev.to | 19 May 2023
3 projects | dev.to | 16 May 2023
Is it okay to lock on a StringBuilder, on which StringBuilrer I perform some operations on?
1 project | reddit.com/r/csharp | 11 May 2023
Iterator Benchmarks That Shocked With Unexpected Results!
2 projects | dev.to | 4 Apr 2023
Optimizing code: One dictionary or multiple?
1 project | reddit.com/r/csharp | 30 Mar 2023
2 projects | dev.to | 19 Mar 2023
Is it normal to take 2000ms (local host) when calling another controller? asp.net core 6
1 project | reddit.com/r/csharp | 14 Mar 2023
A note from our sponsor - ONLYOFFICE
www.onlyoffice.com | 2 Jun 2023
What are some of the best open-source Code Analysis and Metric projects? This list will help you:
|14||.NET Compiler Platform ("Roslyn") Analyzers||1,393|