# ccusage/ccusage SLOC report

> 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%). Default configuration. Counted with tokei via OctoCounts.

ccusage/ccusage has 87,371 source lines of code out of 99,772 total lines across 324 files, counted from the main ref at commit a8e32cf88db6 by the OctoCounts tokei engine on 2026-08-23. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

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.

## Repository size insights

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 | 40,573 | 40,573 | 0 | 0 |
| Rust | 136 | 44,293 | 40,265 | 646 | 3,382 |
| Nix | 24 | 2,352 | 1,859 | 445 | 48 |
| YAML | 2 | 2,375 | 1,846 | 3 | 526 |
| TypeScript | 6 | 1,464 | 1,121 | 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. Canonical report: https://octocounts.com/github/ccusage/ccusage

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/ccusage/ccusage/commit/a8e32cf88db64f2fe6855942036f51a3a867890d?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Atrue%2C%22includeTests%22%3Atrue%2C%22includeGenerated%22%3Atrue%7D).

## Report FAQ

### How many lines of code does ccusage/ccusage have?

ccusage/ccusage has 99,772 total lines, including 87,371 code lines, 5,981 comment lines, and 6,420 blank lines.

### How was the ccusage/ccusage line count measured?

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.

### What commit was counted for ccusage/ccusage?

This OctoCounts report was generated from main at commit a8e32cf88db6 on 2026-08-23T12:55:33.925641402+00:00.

## Similar repository reports

- [hiyouga/LlamaFactory](https://octocounts.com/github/hiyouga/LlamaFactory) — JSON, 88,265 code lines
- [zxr-roro/GPT5.6-5.5-](https://octocounts.com/github/zxr-roro/GPT5.6-5.5-) — JSON, 89,692 code lines
- [Code-4-Community/constellation](https://octocounts.com/github/Code-4-Community/constellation) — JSON, 84,829 code lines
- [win12-online/win12](https://octocounts.com/github/win12-online/win12) — JSON, 84,488 code lines
- [docker/awesome-compose](https://octocounts.com/github/docker/awesome-compose) — JSON, 84,467 code lines
- [MinishLab/semble](https://octocounts.com/github/MinishLab/semble) — JSON, 90,969 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
