# socketio/socket.io SLOC report

> socketio/socket.io: 50,859 code lines at commit f97d51a810d4, counted with tokei-15.0.0 on 2026-11-16. Saved result 1ac64b81cc81bca4835e8410fd5a70d1d718aa9cd39115f068e6c54979e685fb.

socketio/socket.io has 50,859 source lines of code out of 70,932 total lines across 572 files, counted with tokei from the main ref at commit f97d51a810d4 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving socketio/socket.io to commit f97d51a810d4, 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

socketio/socket.io: 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 medium-sized codebase by counted code lines. Code represents 71.7% of all lines, comments represent 17.7%, and the repository averages 89 code lines per file. TypeScript is the largest programming language at 26.3% of counted code; data and prose formats such as JSON or YAML hold a larger share.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 135 | 25,113 | 25,102 | 0 | 11 |
| TypeScript | 126 | 21,428 | 13,365 | 5,653 | 2,410 |
| JavaScript | 134 | 11,601 | 8,493 | 1,980 | 1,128 |
| CSS | 18 | 2,661 | 2,177 | 77 | 407 |
| HTML | 35 | 879 | 812 | 26 | 41 |
| YAML | 12 | 256 | 230 | 0 | 26 |
| Shell | 9 | 319 | 155 | 126 | 38 |
| TSX | 1 | 119 | 99 | 6 | 14 |
| Batch | 1 | 92 | 71 | 0 | 21 |
| Objective-C | 2 | 76 | 61 | 0 | 15 |
| XML | 5 | 82 | 50 | 25 | 7 |
| Vue | 9 | 62 | 47 | 0 | 15 |
| Kotlin | 2 | 67 | 44 | 11 | 12 |
| Handlebars | 1 | 47 | 41 | 0 | 6 |
| Dockerfile | 5 | 75 | 40 | 15 | 20 |
| Forge Config | 1 | 31 | 26 | 1 | 4 |
| Objective-C++ | 1 | 31 | 22 | 2 | 7 |
| SVG | 5 | 11 | 11 | 0 | 0 |
| Prolog | 1 | 10 | 9 | 0 | 1 |
| C Header | 1 | 6 | 4 | 0 | 2 |
| Markdown | 66 | 7,961 | 0 | 4,650 | 3,311 |
| Plain Text | 2 | 5 | 0 | 5 | 0 |

Top programming language: TypeScript 26.3%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/socketio/socket.io/commit/f97d51a810d4f266122eb99bb6c083cd383638f0?reportId=1ac64b81cc81bca4835e8410fd5a70d1d718aa9cd39115f068e6c54979e685fb&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/socketio/socket.io/commit/f97d51a810d4f266122eb99bb6c083cd383638f0?reportId=1ac64b81cc81bca4835e8410fd5a70d1d718aa9cd39115f068e6c54979e685fb&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 socketio/socket.io have?

socketio/socket.io has 50,859 lines of code, plus 12,577 comment lines and 7,496 blank lines, for 70,932 total lines at commit f97d51a810d4 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the socketio/socket.io line count measured?

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

### What commit was counted for socketio/socket.io?

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

## Similar repository reports

- [veniceai/api-docs](https://octocounts.com/github/veniceai/api-docs) — JSON, 50,861 code lines
- [QwenLM/Qwen-Agent](https://octocounts.com/github/QwenLM/Qwen-Agent) — JSON, 51,007 code lines
- [hrw5groupvn-ui/go3-nightclub-3d](https://octocounts.com/github/hrw5groupvn-ui/go3-nightclub-3d) — JSON, 50,620 code lines
- [iamkun/dayjs](https://octocounts.com/github/iamkun/dayjs) — JSON, 51,275 code lines
- [twbs/bootstrap](https://octocounts.com/github/twbs/bootstrap) — JSON, 51,506 code lines
- [Minervas-Digitais/projeto-manamano](https://octocounts.com/github/Minervas-Digitais/projeto-manamano) — JSON, 50,173 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)
