As of 2026-08-23 (commit a8e32cf88db6), ccusage/ccusage contains 99,772 total lines: 87,371 code, 5,981 comments, 6,420 blank, across 324 files in 13 languages (top: JSON 46.4%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving ccusage/ccusage to commit a8e32cf88db6, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.
This is a medium-sized codebase by counted code lines. Code represents 87.6% of all lines, comments represent 6.0%, and the repository averages 270 code lines per file. JSON accounts for 46.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JSON | 29 | 40573 | 40573 | 0 | 0 |
| Rust | 136 | 44293 | 40265 | 646 | 3382 |
| Nix | 24 | 2352 | 1859 | 445 | 48 |
| YAML | 2 | 2375 | 1846 | 3 | 526 |
| TypeScript | 6 | 1464 | 1121 | 239 | 104 |
| Clojure | 6 | 665 | 611 | 0 | 54 |
| TOML | 29 | 561 | 469 | 28 | 64 |
| Nushell | 5 | 385 | 313 | 49 | 23 |
| JavaScript | 2 | 227 | 157 | 46 | 24 |
| Just | 4 | 204 | 113 | 51 | 40 |
| SVG | 4 | 30 | 30 | 0 | 0 |
| Bitbake | 1 | 17 | 14 | 2 | 1 |
Top language (JSON 46.4%). Generated at 2026-08-23T12:55:33.925641402+00:00.
ccusage/ccusage has 99,772 total lines, including 87,371 code lines, 5,981 comment lines, and 6,420 blank lines.
OctoCounts resolved the public GitHub repository to commit a8e32cf88db6, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit a8e32cf88db6 on 2026-08-23T12:55:33.925641402+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: