Archived · service discontinued
Metrica
Metrica measured source code as it changed: complexity, size and comment density for every file in a repository, joined with how often each file was actually touched. The hosted service ran from April 2021 until June 2026. This page is what is left of it.
What happened
Metrica was a small, self-funded service. Running it meant keeping a build cluster, a Postgres cluster and a webhook receiver online for a user base that had stopped growing well before the costs did. In April 2026 we decided to stop rather than let it decay quietly, and gave everyone eleven weeks' notice.
Nothing was acquired, nothing was sold, and no user data changed hands. The service was switched off and the databases were destroyed.
-
Metrica opens to the public after a year as an internal tool.
-
Version 2: the analyser is rewritten as a single dependency-free module.
-
Shutdown announced by email to every account. Billing stops the same day; remaining subscription time is refunded automatically.
-
Command line tool 2.4.0 released, with the server-side
reportcommand and the export formats the API used to return. -
Hosted service switched off. API, webhooks and the web interface stop responding.
-
Backups expire and all account data is destroyed, thirty days after shutdown as announced.
If you were a user
There is nothing left to export. Reports, repository connections, API keys and account records were deleted on 31 July 2026 along with the last backup; we cannot restore an account or recover a report, and no copy exists to restore from.
Access tokens Metrica held for your Git host were revoked at shutdown. If you want to confirm that, the authorised-applications page of your host will show them gone; nothing needs to be done on your side.
Subscriptions. All active subscriptions were cancelled on 15 April 2026 and unused time was refunded to the original payment method. No further charges are possible — the payment integration was removed with the rest of the service. If a charge from Metrica appears on a statement dated after that, it is not us; see About.
What still works
The part people actually used is the analyser, and it never needed a
server. It is a single Python module with no dependencies outside the
standard library, it reads a working tree and a Git log, and it prints a
table. Version 2.4.0 adds the report command that previously
only existed server-side, so it produces the same ranking the service did.
$ metrica report . --top 6
FILE LANG LINES CODE DOC% CPLX CHG AUTH HOT
----------------- ---------- ----- ---- ---- ---- --- ---- ----
web/render.js JavaScript 239 165 12 45 9 1 48.4
core/registry.py Python 168 126 15 19 5 1 11.4
core/scheduler.py Python 467 378 11 93 1 1 11.1
core/pipeline.py Python 341 273 12 61 1 1 7.3
api/handlers.py Python 307 246 12 53 1 1 6.3
web/table.js JavaScript 154 111 13 23 2 1 5.5
web/render.js is not the biggest or the most complicated file
here — it is the one that is complicated and keeps being changed.
That combination is the whole point of the tool, and it is explained in
Metrics.
Download
Released under the MIT licence. Requires Python 3.9 or newer; there is nothing to compile and nothing to install beyond copying a file.
- metrica-cli-2.4.0.zip sha256 2acb2a1c9eca41cb1e578c928af785aecda36a8215b867bfffbe9a777aa3b621
- CHECKSUMS.txt
Usage is documented under Command line. The archive contains the module, its test suite, the changelog and the licence.
This site is an archive. It is not maintained, the tool is not under active development, and there is no roadmap. It is published so that the links people already have keep resolving to an explanation rather than to nothing.