# MoonshotAI/kimi-code SLOC report

> MoonshotAI/kimi-code: 375,999 code lines at commit fec742878d73, counted with tokei-15.0.0 on 2026-11-16. Saved result ff26084fcc0c41c24bf26ab995acd1693000e5b85da3d2b64e968a8bf51da172.

MoonshotAI/kimi-code has 375,999 source lines of code out of 447,509 total lines across 3,020 files, counted with tokei from the main ref at commit fec742878d73 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving MoonshotAI/kimi-code to commit fec742878d73, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

MoonshotAI/kimi-code: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a large codebase by counted code lines. Code represents 84.0% of all lines, comments represent 6.9%, and the repository averages 125 code lines per file. TypeScript accounts for 86.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 2,199 | 382,345 | 325,703 | 23,288 | 33,354 |
| YAML | 2 | 19,253 | 17,762 | 1 | 1,490 |
| JavaScript | 518 | 18,108 | 16,204 | 838 | 1,066 |
| TSX | 100 | 13,904 | 12,574 | 250 | 1,080 |
| JSON | 52 | 1,840 | 1,837 | 0 | 3 |
| C | 2 | 515 | 460 | 5 | 50 |
| CSS | 8 | 476 | 389 | 27 | 60 |
| C Header | 3 | 369 | 333 | 6 | 30 |
| Shell | 3 | 317 | 269 | 6 | 42 |
| Nix | 1 | 258 | 205 | 30 | 23 |
| Objective-C | 1 | 132 | 125 | 0 | 7 |
| HTML | 3 | 60 | 52 | 8 | 0 |
| SVG | 3 | 45 | 40 | 3 | 2 |
| Makefile | 1 | 67 | 34 | 8 | 25 |
| Dockerfile | 1 | 27 | 12 | 11 | 4 |
| Markdown | 123 | 9,793 | 0 | 6,204 | 3,589 |

Top language: TypeScript 86.6%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/MoonshotAI/kimi-code/commit/fec742878d73678082b304c887e4fb1564088c54?reportId=ff26084fcc0c41c24bf26ab995acd1693000e5b85da3d2b64e968a8bf51da172&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/MoonshotAI/kimi-code/commit/fec742878d73678082b304c887e4fb1564088c54?reportId=ff26084fcc0c41c24bf26ab995acd1693000e5b85da3d2b64e968a8bf51da172&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 MoonshotAI/kimi-code have?

MoonshotAI/kimi-code has 375,999 lines of code, plus 30,685 comment lines and 40,825 blank lines, for 447,509 total lines at commit fec742878d73 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the MoonshotAI/kimi-code line count measured?

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

### What commit was counted for MoonshotAI/kimi-code?

This OctoCounts report was generated from main at commit fec742878d73 on November 16, 2026.

## Similar repository reports

- [outline/outline](https://octocounts.com/github/outline/outline) — TypeScript, 377,421 code lines
- [KenKaiii/gg-framework](https://octocounts.com/github/KenKaiii/gg-framework) — TypeScript, 374,502 code lines
- [ccch1mneyyy/dsh-TUI](https://octocounts.com/github/ccch1mneyyy/dsh-TUI) — TypeScript, 378,445 code lines
- [libredb/libredb-studio](https://octocounts.com/github/libredb/libredb-studio) — TypeScript, 371,062 code lines
- [primefaces/primeng](https://octocounts.com/github/primefaces/primeng) — TypeScript, 369,741 code lines
- [prisma/orm](https://octocounts.com/github/prisma/orm) — TypeScript, 388,258 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)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
