Skip to content

Releases: morethancoder/qtldr

qtldr v0.2.0

Choose a tag to compare

@morethancoder morethancoder released this 29 Sep 14:04

The map reads as a flow

Module and package maps are now laid out from the entry point down:

  • Entry on top. The package nothing imports (your cmd/… main) sits top center; every package sits below everything that imports it, so all arrows point down and shared foundations sink to the bottom. Wide rows wrap at 4 cards.
  • Backbone arrows only. An import is hidden when a longer path already shows it (qtldr: 96 → 43 arrows). Selecting a card outlines every package it really imports or is imported by.
  • Less clutter. External modules sit in one strip under the map; in a package, calls into other packages show as one pill per package (script · 6), without arrows.
  • Readable on open. Maps open at 70–100% zoom at the top, centered on the main entry. Press 0 to fit everything.

Fairer grades

  • Timed-out mutants count as caught (the tests did not pass with the change).
  • Mutants Gremlins cannot test are not graded. A change inside a case <condition>: line is never inside a Go coverage block, so Gremlins always reports it as not covered.
  • Green functions share. A package still shows its worst function's grade; the inspector and qtldr show now add "Green functions: N of M".

qtldr on itself

657 of 657 functions green, 99.3% mutation score, 94.3% line coverage.

Upgrade

qtldr upgrade

or go install github.com/morethancoder/qtldr/cmd/qtldr@v0.2.0.

🤖 Generated with Claude Code

qtldr v0.1.0

Choose a tag to compare

@morethancoder morethancoder released this 29 Sep 00:03

First release. qtldr shows how risky Go code is to change: CRAP, cognitive complexity, coverage and mutation score per function, as a map you drill into, a pass/fail check report, and an MCP server for agents.

Install

go install github.com/morethancoder/qtldr/cmd/qtldr@latest

One binary with the web UI embedded. Go 1.26 or newer. Later releases: qtldr upgrade.

What's in it

  • analyze, check, show, worst: structure, complexity, coverage (per function), CRAP, purity, churn
  • mutate: mutation testing with Gremlins, cached per function
  • serve --watch: the web map on 127.0.0.1
  • mcp and hook install --claude: data and checks for Claude Code and other agents
  • upgrade [--check]: install the newest release

🤖 Generated with Claude Code