# anthropics/claude-code SLOC report

> anthropics/claude-code: 24,555 code lines at commit d014fc0fa642, counted with tokei-14.0.0 on 2026-10-21. Saved result f0d109f423538738e7af24792c1b77caf233ae8dc9c786b586347e8a94a79dbb.

anthropics/claude-code has 24,555 source lines of code out of 71,761 total lines across 1,134 files, counted from the main ref at commit d014fc0fa642 by the OctoCounts tokei engine on 2026-10-21. 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 anthropics/claude-code to commit d014fc0fa642, 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 34.2% of all lines, comments represent 52.2%, and the repository averages 22 code lines per file. TypeScript accounts for 50.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 930 | 28,120 | 12,481 | 13,347 | 2,292 |
| Python | 21 | 7,575 | 5,651 | 1,182 | 742 |
| Shell | 20 | 3,393 | 2,352 | 671 | 370 |
| XML | 1 | 1,649 | 1,649 | 0 | 0 |
| HCL | 8 | 1,387 | 1,013 | 212 | 162 |
| TSX | 21 | 1,206 | 796 | 278 | 132 |
| JSON | 19 | 477 | 477 | 0 | 0 |
| PowerShell | 2 | 180 | 111 | 49 | 20 |
| Dockerfile | 2 | 102 | 25 | 64 | 13 |
| Markdown | 110 | 27,672 | 0 | 21,634 | 6,038 |

Top language (TypeScript 50.8%). Generated at 2026-10-21T03:40:10.512438659Z. Canonical report: https://octocounts.com/github/anthropics/claude-code/commit/d014fc0fa64280540728772fc84063918ed185cc?reportId=f0d109f423538738e7af24792c1b77caf233ae8dc9c786b586347e8a94a79dbb&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/anthropics/claude-code/commit/d014fc0fa64280540728772fc84063918ed185cc?reportId=f0d109f423538738e7af24792c1b77caf233ae8dc9c786b586347e8a94a79dbb&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does anthropics/claude-code have?

anthropics/claude-code has 71,761 total lines, including 24,555 code lines, 37,437 comment lines, and 9,769 blank lines.

### How was the anthropics/claude-code line count measured?

OctoCounts resolved the public GitHub repository to commit d014fc0fa642, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for anthropics/claude-code?

This OctoCounts report was generated from main at commit d014fc0fa642 on 2026-10-21T03:40:10.512438659Z.

## Similar repository reports

- [shashank-tomar0/super-agent](https://octocounts.com/github/shashank-tomar0/super-agent) — TypeScript, 24,622 code lines
- [unswcpmsoc/unswbc](https://octocounts.com/github/unswcpmsoc/unswbc) — TypeScript, 24,390 code lines
- [cursor/plugins](https://octocounts.com/github/cursor/plugins) — TypeScript, 24,370 code lines
- [saminnet/flarewatch](https://octocounts.com/github/saminnet/flarewatch) — TypeScript, 24,129 code lines
- [fastmcp-me/xcodebuildmcp](https://octocounts.com/github/fastmcp-me/xcodebuildmcp) — TypeScript, 23,891 code lines
- [deepagents-ai/agent-backend](https://octocounts.com/github/deepagents-ai/agent-backend) — TypeScript, 25,324 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)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [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)
