# CTR-tools/ctr-native SLOC report

> CTR-tools/ctr-native: 731,280 code lines at commit 8e21ed5dc347, counted with tokei-15.0.0 on 2026-11-01. Saved result 33e52f2199def8a426d68eff1ce2345207c34963fa55e520b3dbfc9e7d1ad988.

CTR-tools/ctr-native has 731,280 source lines of code out of 966,791 total lines across 2,239 files, counted with tokei from the master ref at commit 8e21ed5dc347 on November 1, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving CTR-tools/ctr-native to commit 8e21ed5dc347, 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

CTR-tools/ctr-native: 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 75.6% of all lines, comments represent 12.8%, and the repository averages 327 code lines per file. C accounts for 55.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 908 | 511,341 | 404,020 | 40,776 | 66,545 |
| C Header | 798 | 323,642 | 221,110 | 69,568 | 32,964 |
| Objective-C | 44 | 27,425 | 20,993 | 2,462 | 3,970 |
| Bitbake | 19 | 17,196 | 16,924 | 157 | 115 |
| JSON | 4 | 11,316 | 11,316 | 0 | 0 |
| XML | 28 | 11,557 | 10,500 | 68 | 989 |
| Python | 38 | 12,043 | 10,298 | 318 | 1,427 |
| CMake | 41 | 11,129 | 8,943 | 1,067 | 1,119 |
| C++ | 38 | 10,336 | 7,660 | 1,177 | 1,499 |
| Perl | 7 | 5,845 | 4,842 | 375 | 628 |
| Java | 12 | 6,066 | 4,459 | 802 | 805 |
| Visual Studio Project | 59 | 3,773 | 3,773 | 0 | 0 |
| Shell | 24 | 1,309 | 918 | 164 | 227 |
| Visual Studio Solution | 4 | 843 | 841 | 0 | 2 |
| Dockerfile | 22 | 974 | 776 | 0 | 198 |
| Autoconf | 24 | 978 | 678 | 96 | 204 |
| LD Script | 10 | 660 | 621 | 10 | 29 |
| Metal Shading Language | 2 | 492 | 404 | 21 | 67 |
| HLSL | 16 | 350 | 277 | 9 | 64 |
| M4 | 2 | 466 | 268 | 165 | 33 |
| CSS | 1 | 284 | 227 | 4 | 53 |
| MSBuild | 4 | 202 | 202 | 0 | 0 |
| Batch | 10 | 258 | 200 | 4 | 54 |
| Makefile | 6 | 241 | 174 | 19 | 48 |
| Automake | 7 | 224 | 172 | 5 | 47 |
| C++ Header | 4 | 267 | 134 | 90 | 43 |
| HTML | 3 | 144 | 129 | 0 | 15 |
| BASH | 1 | 160 | 122 | 21 | 17 |
| Prolog | 1 | 78 | 72 | 0 | 6 |
| GNU Style Assembly | 18 | 74 | 65 | 0 | 9 |
| C# | 1 | 91 | 56 | 27 | 8 |
| Lua | 1 | 79 | 43 | 21 | 15 |
| HICAD | 1 | 46 | 36 | 0 | 10 |
| Meson | 1 | 22 | 18 | 0 | 4 |
| Xcode Config | 3 | 36 | 7 | 19 | 10 |
| Snakemake | 1 | 36 | 2 | 27 | 7 |
| Markdown | 25 | 2,132 | 0 | 1,603 | 529 |
| Plain Text | 51 | 4,676 | 0 | 4,207 | 469 |

Top language: C 55.2%. Generated on November 1, 2026. Canonical report: https://octocounts.com/github/CTR-tools/ctr-native/commit/8e21ed5dc347907f657914b0d61177a7ca7135e2?reportId=33e52f2199def8a426d68eff1ce2345207c34963fa55e520b3dbfc9e7d1ad988&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/CTR-tools/ctr-native/commit/8e21ed5dc347907f657914b0d61177a7ca7135e2?reportId=33e52f2199def8a426d68eff1ce2345207c34963fa55e520b3dbfc9e7d1ad988&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 CTR-tools/ctr-native have?

CTR-tools/ctr-native has 731,280 lines of code, plus 123,282 comment lines and 112,229 blank lines, for 966,791 total lines at commit 8e21ed5dc347 on November 1, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the CTR-tools/ctr-native line count measured?

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

### What commit was counted for CTR-tools/ctr-native?

This OctoCounts report was generated from master at commit 8e21ed5dc347 on November 1, 2026.

## Similar repository reports

- [neovim/neovim](https://octocounts.com/github/neovim/neovim) — C, 736,121 code lines
- [FlightGear/flightgear](https://octocounts.com/github/FlightGear/flightgear) — C, 711,770 code lines
- [openssl/openssl](https://octocounts.com/github/openssl/openssl) — C, 790,711 code lines
- [ppmpreetham/BUI](https://octocounts.com/github/ppmpreetham/BUI) — C, 637,687 code lines
- [nordstjernen-web/nordstjernen-sol-browser](https://octocounts.com/github/nordstjernen-web/nordstjernen-sol-browser) — C, 839,979 code lines
- [uroni/urbackup_backend](https://octocounts.com/github/uroni/urbackup_backend) — C, 846,334 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)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [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)
