# tui-cs/Terminal.Gui SLOC report

> As of 2026-11-21 (commit 587a3a922206), tui-cs/Terminal.Gui contains 419,035 total lines: 276,742 code, 70,394 comments, 71,899 blank, across 1,718 files in 16 languages (top language: C# 96.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

tui-cs/Terminal.Gui has 276,742 source lines of code out of 419,035 total lines across 1,718 files, counted with tokei from the develop ref at commit 587a3a922206 on November 21, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving tui-cs/Terminal.Gui to commit 587a3a922206, 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

tui-cs/Terminal.Gui: 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 66.0% of all lines, comments represent 16.8%, and the repository averages 161 code lines per file. C# accounts for 96.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C# | 1,495 | 399,332 | 266,733 | 63,237 | 69,362 |
| JSON | 16 | 3,346 | 3,345 | 0 | 1 |
| JavaScript | 72 | 3,057 | 2,311 | 707 | 39 |
| PowerShell | 16 | 2,429 | 1,416 | 557 | 456 |
| .NET Resource | 5 | 1,547 | 1,252 | 295 | 0 |
| MSBuild | 29 | 994 | 843 | 78 | 73 |
| Python | 3 | 429 | 377 | 12 | 40 |
| Templ | 2 | 163 | 148 | 0 | 15 |
| XML | 6 | 138 | 100 | 28 | 10 |
| YAML | 3 | 175 | 90 | 68 | 17 |
| CSS | 2 | 75 | 48 | 16 | 11 |
| NuGet Config | 2 | 39 | 33 | 4 | 2 |

Top language: C# 96.4%. Generated on November 21, 2026. Canonical report: https://octocounts.com/github/tui-cs/Terminal.Gui

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/tui-cs/Terminal.Gui/commit/587a3a92220675bf0f48259726030d823bbd5d71?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=bf83ec221e319c6ca45d092a8b7c3466175f775b12d31f84a43d0e9506c99fd8).

## Report FAQ

### How many lines of code does tui-cs/Terminal.Gui have?

tui-cs/Terminal.Gui has 276,742 lines of code, plus 70,394 comment lines and 71,899 blank lines, for 419,035 total lines at commit 587a3a922206 on November 21, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the tui-cs/Terminal.Gui line count measured?

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

### What commit was counted for tui-cs/Terminal.Gui?

This OctoCounts report was generated from develop at commit 587a3a922206 on November 21, 2026.

## Similar repository reports

- [NuGet/NuGet.Client](https://octocounts.com/github/NuGet/NuGet.Client) — C#, 280,935 code lines
- [DorianGrayII/MOM-2022-](https://octocounts.com/github/DorianGrayII/MOM-2022-) — C#, 268,226 code lines
- [iOfficeAI/OfficeCLI](https://octocounts.com/github/iOfficeAI/OfficeCLI) — C#, 267,507 code lines
- [optimajet/WorkflowEngine.NET](https://octocounts.com/github/optimajet/WorkflowEngine.NET) — C#, 267,167 code lines
- [protobuf-net/protobuf-net](https://octocounts.com/github/protobuf-net/protobuf-net) — C#, 288,887 code lines
- [dotnet/ef6](https://octocounts.com/github/dotnet/ef6) — C#, 305,818 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)
- [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)
