# mrdoob/three.js SLOC report

> mrdoob/three.js: 336,385 code lines at commit a04f49e30257, counted with tokei-15.0.0 on 2026-11-16. Saved result caf0ab02cce93a3f0fd0bde3bb7d3e22af9970305b271743f26644cf63c22d3e.

mrdoob/three.js has 336,385 source lines of code out of 589,672 total lines across 2,500 files, counted with tokei from the dev ref at commit a04f49e30257 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving mrdoob/three.js to commit a04f49e30257, 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

mrdoob/three.js: 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 57.0% of all lines, comments represent 17.8%, and the repository averages 135 code lines per file. JavaScript accounts for 79.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JavaScript | 1,453 | 504,600 | 266,344 | 97,924 | 140,332 |
| HTML | 863 | 48,256 | 43,708 | 260 | 4,288 |
| JSON | 32 | 11,010 | 11,009 | 0 | 1 |
| SVG | 68 | 8,704 | 8,694 | 1 | 9 |
| CSS | 21 | 7,800 | 6,630 | 115 | 1,055 |
| Markdown | 30 | 8,355 | 0 | 5,749 | 2,606 |
| Plain Text | 33 | 947 | 0 | 703 | 244 |

Top language: JavaScript 79.2%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/mrdoob/three.js/commit/a04f49e30257adf11c866a7b840c93883c4dc22a?reportId=caf0ab02cce93a3f0fd0bde3bb7d3e22af9970305b271743f26644cf63c22d3e&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/mrdoob/three.js/commit/a04f49e30257adf11c866a7b840c93883c4dc22a?reportId=caf0ab02cce93a3f0fd0bde3bb7d3e22af9970305b271743f26644cf63c22d3e&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 mrdoob/three.js have?

mrdoob/three.js has 336,385 lines of code, plus 104,752 comment lines and 148,535 blank lines, for 589,672 total lines at commit a04f49e30257 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the mrdoob/three.js line count measured?

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

### What commit was counted for mrdoob/three.js?

This OctoCounts report was generated from dev at commit a04f49e30257 on November 16, 2026.

## Similar repository reports

- [tastejs/todomvc](https://octocounts.com/github/tastejs/todomvc) — JavaScript, 332,898 code lines
- [webpack/webpack](https://octocounts.com/github/webpack/webpack) — JavaScript, 343,706 code lines
- [fishjar/kiss-translator](https://octocounts.com/github/fishjar/kiss-translator) — JavaScript, 347,723 code lines
- [WLJSTeam/wljs-notebook](https://octocounts.com/github/WLJSTeam/wljs-notebook) — JavaScript, 353,892 code lines
- [jackwener/OpenCLI](https://octocounts.com/github/jackwener/OpenCLI) — JavaScript, 318,636 code lines
- [usebruno/bruno](https://octocounts.com/github/usebruno/bruno) — JavaScript, 357,088 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)
- [Three.js vs Babylon.js](https://octocounts.com/compare/threejs-vs-babylonjs)
- [React vs Vue](https://octocounts.com/compare/react-vs-vue)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Vite vs webpack](https://octocounts.com/compare/vite-vs-webpack)
- [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)
