square/cane
Code quality threshold checking as part of your build observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5345
- days_rel: n/a
- days_push: 1304
- n_releases_24m: 0
Adoption not part of the score
1305 stars · 73 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Cane is a Ruby CLI tool that fails your build if code quality thresholds (ABC complexity, style, documentation coverage) are not met. It is now in maintenance mode, with the README recommending RuboCop for new projects.
Use cases
- fail CI build when code complexity exceeds a threshold
- enforce line length and style rules in a Ruby project
- require documentation comments on classes before merging
- add a code quality gate to a build task
- check that a metric value in a file stays under a limit
When to choose
- you maintain a legacy Ruby project already using cane
- you want a minimal, fast quality threshold checker with zero config
When to avoid
- starting a new Ruby project - use RuboCop instead
- you need comprehensive linting beyond simple thresholds
Facets
cli-tool · maturity maintenance
testing linter ci-cd developer-tools testing ruby cli code-quality quality-gate abc-metric ruby-gem build-check command-line
1 source
- readme: https://github.com/square/cane · fetched 2026-08-28 · aac8c7b86687
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| square/cane | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem