# whitesmith/rubycritic

A Ruby code quality reporter

Repository: https://github.com/whitesmith/rubycritic
Canonical: https://ross.abutalabs.com/products/rubycritic
Language: Ruby
License: MIT
License Family: permissive
Topics: ruby, static-analysis, quality-reporter, metrics, best-practices
Last push: 2026-06-24T17:49:03+00:00

## Health v2 (maintenance only)
Score: 72/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 89, release rhythm 35, longevity 100
- inputs: {"age_days": 4711, "days_push": 70, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3499, forks 236 (observed 2026-08-28T04:08:07.468646+00:00)

## What it is
RubyCritic is a Ruby gem that wraps static analysis tools like Reek, Flay, and Flog to generate a quality report of Ruby code. It provides an HTML overview of code smells, complexity metrics, and can compare uncommitted changes against the last commit.

## Use cases
- generate a code quality report for my ruby project
- find code smells in my ruby codebase
- check complexity of ruby methods before merging
- compare uncommitted ruby changes against last commit for quality regressions
- integrate static analysis into a rake task or CI pipeline
- visualize which ruby files have the most smells

## When to choose
- you maintain a Ruby codebase and want aggregated static analysis with an HTML report
- you want to track code quality trends using Git, Mercurial, or Perforce diffs
- you want a unified view over Reek, Flay, and Flog output

## When to avoid
- you need static analysis for languages other than Ruby
- you need runtime profiling or dynamic analysis rather than static analysis
- you need auto-fixing of code smells rather than reporting

## Facets
- artifact type: library
- maturity: active
- function: linter, developer-tools, code-review
- domain: developer-tools, testing, programming-languages
- platform: ruby, cli
- tags: static-analysis, code-quality, ruby-gem, code-smells, metrics

## Member repositories
- whitesmith/rubycritic (main) score 72

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:07.468646+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:35:50.552153+00:00, confidence not recorded.
  - readme: https://github.com/whitesmith/rubycritic (fetched 2026-08-28T04:08:07.468646+00:00, sha f6bf536f7d07)
- Data as of 2026-08-30T08:39:29.467469+00:00.
