# longbridge/nsh SLOC report

> longbridge/nsh: 819,683 code lines at commit 261580033e68, counted with tokei-15.0.0 on 2026-11-16. Saved result 06d437365216df2e9e065cf0bd09829e4f2580dc12ae64ccc0e9066b5df8355d.

longbridge/nsh has 819,683 source lines of code out of 962,239 total lines across 2,002 files, counted with tokei from the main ref at commit 261580033e68 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving longbridge/nsh to commit 261580033e68, 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

longbridge/nsh: 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 85.2% of all lines, comments represent 8.1%, and the repository averages 409 code lines per file. Rust accounts for 86.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 1,119 | 779,730 | 705,482 | 27,209 | 47,039 |
| TSX | 250 | 58,015 | 50,434 | 4,982 | 2,599 |
| JavaScript | 78 | 31,753 | 26,728 | 3,577 | 1,448 |
| Java | 62 | 22,744 | 17,567 | 3,531 | 1,646 |
| TypeScript | 59 | 6,336 | 4,731 | 1,099 | 506 |
| Astro | 53 | 4,412 | 3,750 | 394 | 268 |
| JSON | 68 | 2,597 | 2,597 | 0 | 0 |
| SVG | 32 | 2,533 | 2,366 | 25 | 142 |
| TOML | 41 | 2,818 | 2,081 | 519 | 218 |
| Python | 9 | 1,581 | 1,390 | 49 | 142 |
| CSS | 3 | 1,702 | 1,356 | 198 | 148 |
| Swift | 2 | 1,168 | 777 | 279 | 112 |
| Shell | 1 | 197 | 159 | 21 | 17 |
| C Header | 1 | 357 | 133 | 165 | 59 |
| PowerShell | 1 | 81 | 58 | 14 | 9 |
| HTML | 3 | 54 | 53 | 1 | 0 |
| C | 2 | 38 | 21 | 13 | 4 |
| Markdown | 195 | 41,072 | 0 | 31,098 | 9,974 |
| Plain Text | 23 | 5,051 | 0 | 4,900 | 151 |

Top language: Rust 86.1%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/longbridge/nsh/commit/261580033e68de0d558508d369ed258bc25f2bd8?reportId=06d437365216df2e9e065cf0bd09829e4f2580dc12ae64ccc0e9066b5df8355d&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/longbridge/nsh/commit/261580033e68de0d558508d369ed258bc25f2bd8?reportId=06d437365216df2e9e065cf0bd09829e4f2580dc12ae64ccc0e9066b5df8355d&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 longbridge/nsh have?

longbridge/nsh has 819,683 lines of code, plus 78,074 comment lines and 64,482 blank lines, for 962,239 total lines at commit 261580033e68 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the longbridge/nsh line count measured?

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

### What commit was counted for longbridge/nsh?

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

## Similar repository reports

- [l0ng-ai/openidea](https://octocounts.com/github/l0ng-ai/openidea) — Rust, 820,918 code lines
- [mlx-node/mlx-node](https://octocounts.com/github/mlx-node/mlx-node) — Rust, 821,393 code lines
- [0xErwin1/dbflux](https://octocounts.com/github/0xErwin1/dbflux) — Rust, 824,101 code lines
- [vercel/next.js](https://octocounts.com/github/vercel/next.js) — Rust, 811,441 code lines
- [oxc-project/oxc](https://octocounts.com/github/oxc-project/oxc) — Rust, 809,136 code lines
- [storytold/vectorcraft](https://octocounts.com/github/storytold/vectorcraft) — Rust, 832,893 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)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [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)
