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
-
Project 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.
-
Project mention: Scientist: A Ruby library for carefully refactoring critical paths | news.ycombinator.com | 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
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.
-
-
$ 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' [https://github.com/troessner/reek/blob/v6.1.1/docs/Uncommunicative-Variable-Name.md]
-
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.
-
-
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.
-
Project mention: Dead code or unused code removal in ruby on rails. | reddit.com/r/rubyonrails | 2022-09-09
Try https://github.com/danmayer/coverband
-
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 | reddit.com/r/csharp | 2023-01-13Or as an alternative use CodeMaid.
-
-
-
-
See the following page
-
-
If you are wanting to enforce rules then maybe stylecop will work? https://github.com/StyleCop/StyleCop
-
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.
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.
Flay identifies structural Ruby code similarities, including:
-
-
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.
-
Project mention: Gems that can identify churn, complexity, duplication and smells. | reddit.com/r/rails | 2022-08-06
metric_fu
-
Ameba is a linter for Crystal.
-
ONLYOFFICE
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
- Flog-Driven Development
- Is it okay to lock on a StringBuilder, on which StringBuilrer I perform some operations on?
- Iterator Benchmarks That Shocked With Unexpected Results!
- Optimizing code: One dictionary or multiple?
- Microsoft.CodeAnalysis.BannedApiAnalyzers
- Is it normal to take 2000ms (local host) when calling another controller? asp.net core 6
-
A note from our sponsor - ONLYOFFICE
www.onlyoffice.com | 2 Jun 2023
Index
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 |