# XAMPPRocky/tokei

Count your code, quickly.

Repository: https://github.com/XAMPPRocky/tokei
Canonical: https://ross.abutalabs.com/products/tokei
Language: Rust
License: NOASSERTION
License Family: other
Topics: tokei, cloc, badge, rust, windows, linux, macos, statistics, code, cli, sloc, command-line-tool
Last push: 2026-05-06T16:44:01+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 81, release rhythm 51, longevity 100
- inputs: {"age_days": 4117, "days_push": 119, "days_rel": 246, "gap_med": 65, "n_releases_24m": 6}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 14852, forks 698 (observed 2026-08-28T04:11:07.813724+00:00)

## What it is
Tokei is a fast command-line tool that counts lines of code, comments, and blanks across a codebase, grouped by language. It is written in Rust and also exposes a library API for programmatic use.

## Use cases
- count lines of code in a project
- get code statistics grouped by language
- measure comment and blank line counts
- replace cloc with a faster alternative
- generate code size stats for a repo
- track lines of code per language in CI

## When to choose
- you need fast, accurate lines-of-code statistics across many languages
- you want a cross-platform CLI with no runtime dependencies
- you need to embed code-counting in a Rust program via its library API

## When to avoid
- you need complexity metrics, duplication detection, or code quality analysis rather than raw line counts
- you need historical trends over time from a VCS
- you need a GUI or web-based reporting dashboard

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, developer-tools, analytics
- domain: developer-tools, analytics
- platform: windows, cli, rust, cross-platform
- tags: code-statistics, sloc, cloc, lines-of-code, code-metrics, command-line, linux, macos

## Member repositories
- XAMPPRocky/tokei (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:07.813724+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-29T17:07:07.664568+00:00, confidence not recorded.
  - readme: https://github.com/XAMPPRocky/tokei (fetched 2026-08-28T04:11:07.813724+00:00, sha 87ce8097833d)
  - registry_crates: https://crates.io/api/v1/crates/tokei (fetched 2026-08-29T08:05:02.830492+00:00, sha 5efae03ad683)
- Data as of 2026-08-30T08:39:29.467469+00:00.
