# socketio/socket.io SLOC report

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

socketio/socket.io has 50,859 source lines of code out of 70,933 total lines across 572 files, counted with tokei from the f8e8746492f4118c7ef6a40e51f9c26fdc3ecc31 ref at commit f8e8746492f4 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 f8e8746492f4, 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,429 | 13,365 | 5,653 | 2,411 |
| 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/f8e8746492f4118c7ef6a40e51f9c26fdc3ecc31?reportId=c465c8601bc2d18a7bcb814b3d968e6c1c1f98e807ca89bd96c14f1117b1f5d7&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/f8e8746492f4118c7ef6a40e51f9c26fdc3ecc31?reportId=c465c8601bc2d18a7bcb814b3d968e6c1c1f98e807ca89bd96c14f1117b1f5d7&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,497 blank lines, for 70,933 total lines at commit f8e8746492f4 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 f8e8746492f4, 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 f8e8746492f4118c7ef6a40e51f9c26fdc3ecc31 at commit f8e8746492f4 on November 16, 2026.

## 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)
