rintel

Know what your change touches before you push it.

rintel reads a repository once and answers the questions text search gets wrong: who calls this, what breaks if it changes, which tests cover it, and what is insecure. It runs locally and never executes the code it reads.

curl -L https://github.com/spro1/rintel-code/releases/latest/download/rintel_darwin_arm64.tar.gz | tar xz
sudo mv rintel_darwin_arm64/rintel /usr/local/bin/
cd your-repository
rintel report --open
Open a live report Getting started Source on GitHub
rintel report: the callers of a repository method, grouped by file
The report for spring-petclinic. Click the picture to open it and try it yourself.

What you can ask

From the terminal, in CI, or through a coding agent. Every answer is a fact from static analysis unless it is marked as inferred.

QuestionCommand
Who calls this?rintel callers UserService.createUser
Where is this type or field used?rintel refs UserDto
What does my change affect? Which tests should I run?rintel impact --base origin/main
Which REST endpoints exist, and what handles them?rintel api
Is anything insecure or badly structured?rintel check
Do my dependencies have known vulnerabilities?rintel check --vulns
Where is the complexity?rintel metrics method --top 20
How do the packages depend on each other?rintel deps
How much technical debt is there, and where should we start?rintel check

Why it is different

Local and inert

Nothing leaves the machine and nothing from the repository runs: no build tool, no annotation processor, no package scripts, and symbolic links are not followed. It is built to be pointed at code you do not trust.

Evidence on every answer

Facts are unmarked. A guess names the rule that made it. What analysis could not see is recorded with a reason, so an empty answer is never mistaken for a blind spot.

Findings come with a fix

23 security and quality rules, each with a CWE id where one applies and a plain statement of what to change.

Debt you can grade

The findings become one number, the time to fix them against the time to write the code anew, graded S to D, with the classes that hold most of it.

Every method as a flowchart

The report draws the control flow of any method in Java, Go, TypeScript or Python, so a long method can be read before it is opened.

One index, three ways in

A command line, an MCP server with skills for coding agents, and a self-contained HTML report that opens offline.

Inside the report

One HTML file that opens offline. Both pictures are from the live report.

Report overview: technical debt grade S at 2.91%, its scale and the size of the repository
The overview: the technical debt grade, what it is made of, and where it sits.
Control flow of Owner.addPet drawn as a flowchart with conditions and a loop
A method's control flow, next to how many tests it takes to run every branch.

rintel on rintel

rintel checks its own code. Its first technical debt grade was a B; splitting the functions it flagged, with every step compared against the previous binary, and testing what it showed as untested took it to an S.

StepDebt ratioGradeTo fix
First run5.6%B30 days
Largest functions split3.5%A20 days
Adapters split2.3%S13.5 days
Untested code tested, rules made more precise0.1%S3.4 hours
Eight languages added through tree-sitter0.3%S1.9 days
Kotlin and C# at compiler level0.6%S5.1 days
Java, Go and Python readable from syntax0.7%S6.1 days

Open rintel's own report

A change, explained

One command turns a diff into the code that depends on it, the endpoints that reach it, and the tests to run.

$ rintel impact
Compared with HEAD: 1 files changed, 1 symbols changed, 4 affected, 3 endpoints, 13 tests reach it.

Changed (1)
  Owner.addPet(Pet)  owner/Owner.java:100  complexity 7: at least 7 test cases to run every branch

Affected (4)
  PetController.initCreationForm(Owner,ModelMap)     1 step(s) away
  PetController.processCreationForm(Owner,Pet,...)   1 step(s) away
  ...
Endpoints (3)
  POST /owners/{ownerId}/pets/new
  ...
Tests that reach the change (13)
  OwnerTests.addPetAddsPersistedPet()                1 step(s) away
  ...

For coding agents

A Claude Code plugin adds three skills and an MCP server, so the agent checks the real call graph instead of guessing from grep.

/plugin install rintel --marketplace spro1/rintel-code

Guides

Languages

Twelve languages. Each is read at the deepest level the machine allows: by its own compiler when its toolchain is installed, otherwise from its syntax with a bundled tree-sitter, where names resolve through declarations, imports and declared types and anything only a type checker could pin down is marked as inferred.

LanguageWith Node.js onlyWith its toolchainMeasured (repository calls resolved)
Java (Spring, Lombok)syntaxcompiler (JDK 17+)spring-petclinic 100%, realworld 100%
Gosyntaxcompiler (Go toolchain)client-go 98.7% (2,453 files)
TypeScript, JavaScript (React, Vue)compiler (bundled TypeScript 5.9)
Python (FastAPI, Flask)syntaxPython's own parser (python3)
Kotlinsyntaxcompiler (Kotlin from the Gradle or Maven cache, and a JDK)spring-petclinic-kotlin 100%
C#syntaxcompiler (Roslyn from a .NET SDK)eShopOnWeb 99.5%
Rust, Ruby, PHP, C, C++, Scalasyntaxripgrep 95.6%, rails-realworld 100%, laravel-realworld 99.6%, jq 100%, leveldb 98.7%, gitbucket 96.7%

Details and the inferred share per project are in the README.

Install

One binary, plus Node.js 18+. Nothing else is required: no server, database, IDE or account, and nothing is downloaded or run from the repository. A language's toolchain makes its analysis deeper.

SystemrintelNode.js
macOScurl -L https://github.com/spro1/rintel-code/releases/latest/download/rintel_darwin_arm64.tar.gz | tar xz (Intel: darwin_amd64), then move rintel onto your PATHbrew install node
Linuxcurl -L https://github.com/spro1/rintel-code/releases/latest/download/rintel_linux_amd64.tar.gz | tar xz (or linux_arm64)sudo apt install nodejs
Windowsrintel_windows_amd64.zip, unzip, add to PATHwinget install OpenJS.NodeJS.LTS
With Gogo install github.com/spro1/rintel-code/cmd/rintel@latest

Then rintel doctor: it says how each language will be read on this machine and prints the install command for anything missing. Checksums, every system and each language's toolchain: install guide.

Contribute

rintel is Apache-2.0 and open to contributions, from a wrong caller reported with a five-line example to a whole new language, which is mostly one file describing its grammar.

Report what is wrong

A missing caller or a false finding, with the smallest code that shows it: open an issue.

Pick something to do

Issues marked good first issue are small and self-contained; help wanted are bigger.

Add a language

A tree-sitter grammar, one module, a fixture and a test. The contributing guide walks through it.

Ask or propose

Questions and ideas go to Discussions; security problems are reported privately.