# nunit/nunit-console SLOC report

> As of 2026-11-17 (commit b5de455f69c8), nunit/nunit-console contains 29,162 total lines: 21,721 code, 3,559 comments, 3,882 blank, across 274 files in 16 languages (top language: C# 94.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

nunit/nunit-console has 21,721 source lines of code out of 29,162 total lines across 274 files, counted with tokei from the main ref at commit b5de455f69c8 on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving nunit/nunit-console to commit b5de455f69c8, 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

nunit/nunit-console: 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 74.5% of all lines, comments represent 12.2%, and the repository averages 79 code lines per file. C# accounts for 94.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C# | 215 | 27,210 | 20,485 | 3,148 | 3,577 |
| MSBuild | 28 | 700 | 565 | 17 | 118 |
| Visual Studio Solution | 2 | 272 | 270 | 0 | 2 |
| Visual Studio Project | 2 | 186 | 186 | 0 | 0 |
| YAML | 2 | 57 | 46 | 9 | 2 |
| XSL | 2 | 51 | 43 | 0 | 8 |
| NuGet Config | 1 | 37 | 33 | 4 | 0 |
| JSON | 2 | 19 | 19 | 0 | 0 |
| C++ | 2 | 39 | 18 | 15 | 6 |
| PowerShell | 3 | 24 | 18 | 0 | 6 |
| C Header | 1 | 20 | 15 | 0 | 5 |
| Batch | 1 | 11 | 8 | 0 | 3 |

Top language: C# 94.3%. Generated on November 17, 2026. Canonical report: https://octocounts.com/github/nunit/nunit-console

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/nunit/nunit-console/commit/b5de455f69c860d11cae591659f11195f7176e57?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=39f0f6ecd5c13361dd768b61502cb434b26854665788ec2103b56b128712729c).

## Report FAQ

### How many lines of code does nunit/nunit-console have?

nunit/nunit-console has 21,721 lines of code, plus 3,559 comment lines and 3,882 blank lines, for 29,162 total lines at commit b5de455f69c8 on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the nunit/nunit-console line count measured?

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

### What commit was counted for nunit/nunit-console?

This OctoCounts report was generated from main at commit b5de455f69c8 on November 17, 2026.

## Similar repository reports

- [subzero1221/selfaware](https://octocounts.com/github/subzero1221/selfaware) — C#, 21,831 code lines
- [Tyrrrz/DiscordChatExporter](https://octocounts.com/github/Tyrrrz/DiscordChatExporter) — C#, 23,003 code lines
- [QingMu01/BangDreamInSpire](https://octocounts.com/github/QingMu01/BangDreamInSpire) — C#, 23,096 code lines
- [nyris/sdk-maui](https://octocounts.com/github/nyris/sdk-maui) — C#, 20,354 code lines
- [BluePointLilac/ContextMenuManager](https://octocounts.com/github/BluePointLilac/ContextMenuManager) — C#, 20,218 code lines
- [ninject/Ninject](https://octocounts.com/github/ninject/Ninject) — C#, 23,807 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)
