# gnutools/binutils-gdb SLOC report

> gnutools/binutils-gdb: 7,011,231 code lines at commit 5678a7bfceb3, counted with tokei-15.0.0 on 2026-11-16. Saved result 3da06b905bd5e5e09bb1d0e23a65bd37d0267bf245fc3e62312d706bcd208066.

gnutools/binutils-gdb has 7,011,231 source lines of code out of 8,918,958 total lines across 35,725 files, counted with tokei from the master ref at commit 5678a7bfceb3 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving gnutools/binutils-gdb to commit 5678a7bfceb3, 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

gnutools/binutils-gdb: 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 very large codebase by counted code lines. Code represents 78.6% of all lines, comments represent 11.9%, and the repository averages 196 code lines per file. C accounts for 36.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 5,174 | 3,366,708 | 2,572,482 | 432,120 | 362,106 |
| D | 12,210 | 1,682,432 | 1,641,230 | 29 | 41,173 |
| GNU Style Assembly | 10,551 | 1,332,540 | 1,240,811 | 22,165 | 69,564 |
| PO File | 140 | 999,642 | 443,559 | 359,746 | 196,337 |
| C Header | 2,190 | 641,204 | 424,526 | 135,125 | 81,553 |
| C++ | 718 | 322,309 | 241,732 | 42,429 | 38,148 |
| Autoconf | 114 | 171,501 | 142,329 | 11,226 | 17,946 |
| Lex | 1,585 | 75,318 | 74,190 | 359 | 769 |
| M4 | 311 | 68,775 | 45,339 | 18,367 | 5,069 |
| Shell | 542 | 35,171 | 23,930 | 7,085 | 4,156 |
| Happy | 22 | 25,039 | 21,906 | 0 | 3,133 |
| Python | 196 | 29,106 | 19,002 | 5,203 | 4,901 |
| Visual Studio Project | 36 | 17,428 | 17,428 | 0 | 0 |
| XML | 233 | 14,683 | 12,823 | 1,440 | 420 |
| Scala | 56 | 14,458 | 12,105 | 978 | 1,375 |
| Automake | 25 | 14,011 | 10,406 | 1,376 | 2,229 |
| Ada | 633 | 20,532 | 8,462 | 9,460 | 2,610 |
| Module-Definition | 43 | 8,961 | 7,958 | 60 | 943 |
| Bitbake | 87 | 8,100 | 6,597 | 672 | 831 |
| LD Script | 258 | 6,748 | 5,781 | 555 | 412 |
| TeX | 1 | 9,291 | 5,621 | 2,938 | 732 |
| TCL | 26 | 5,522 | 3,608 | 1,164 | 750 |
| Alex | 1 | 4,838 | 3,403 | 0 | 1,435 |
| R | 96 | 3,746 | 3,321 | 215 | 210 |
| Makefile | 71 | 4,690 | 2,996 | 1,022 | 672 |
| FORTRAN Modern | 77 | 4,788 | 2,970 | 1,120 | 698 |
| Perl | 20 | 3,797 | 2,896 | 404 | 497 |
| Assembly | 7 | 2,690 | 1,669 | 458 | 563 |
| Pan | 1 | 2,142 | 1,598 | 291 | 253 |
| GDB Script | 19 | 2,027 | 1,205 | 194 | 628 |
| Pascal | 11 | 1,718 | 1,154 | 312 | 252 |
| Scheme | 15 | 1,582 | 1,009 | 356 | 217 |
| C# | 9 | 1,615 | 879 | 506 | 230 |
| Visual Studio Solution | 8 | 856 | 849 | 0 | 7 |
| GDScript | 56 | 1,629 | 764 | 678 | 187 |
| Emacs Lisp | 4 | 972 | 628 | 238 | 106 |
| HTML | 1 | 549 | 548 | 1 | 0 |
| Rust | 26 | 1,010 | 521 | 302 | 187 |
| Java | 5 | 723 | 478 | 165 | 80 |
| OpenCL | 6 | 595 | 433 | 96 | 66 |
| Phix | 36 | 422 | 420 | 0 | 2 |
| Objective-C | 6 | 405 | 301 | 4 | 100 |
| AWK | 5 | 298 | 206 | 72 | 20 |
| SWIG | 1 | 235 | 196 | 0 | 39 |
| MSBuild | 2 | 184 | 172 | 8 | 4 |
| CMake | 1 | 218 | 160 | 31 | 27 |
| Go | 12 | 202 | 142 | 17 | 43 |
| XSL | 5 | 187 | 140 | 37 | 10 |
| TOML | 1 | 165 | 105 | 41 | 19 |
| Batch | 3 | 56 | 56 | 0 | 0 |
| FORTRAN Legacy | 4 | 145 | 55 | 68 | 22 |
| Elixir | 20 | 54 | 54 | 0 | 0 |
| Device Tree | 1 | 47 | 25 | 21 | 1 |
| HEX | 5 | 27 | 25 | 0 | 2 |
| Wolfram | 1 | 16 | 9 | 0 | 7 |
| K | 1 | 8 | 8 | 0 | 0 |
| ZenCode | 1 | 9 | 6 | 1 | 2 |
| D2 | 1 | 2 | 2 | 0 | 0 |
| Forge Config | 1 | 9 | 2 | 7 | 0 |
| Poke | 1 | 1 | 1 | 0 | 0 |
| Markdown | 1 | 158 | 0 | 123 | 35 |
| Plain Text | 32 | 6,664 | 0 | 6,148 | 516 |

Top language: C 36.7%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/gnutools/binutils-gdb/commit/5678a7bfceb3a6ea18bcde1ae68f7e96c43c998b?reportId=3da06b905bd5e5e09bb1d0e23a65bd37d0267bf245fc3e62312d706bcd208066&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/gnutools/binutils-gdb/commit/5678a7bfceb3a6ea18bcde1ae68f7e96c43c998b?reportId=3da06b905bd5e5e09bb1d0e23a65bd37d0267bf245fc3e62312d706bcd208066&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 gnutools/binutils-gdb have?

gnutools/binutils-gdb has 7,011,231 lines of code, plus 1,065,433 comment lines and 842,294 blank lines, for 8,918,958 total lines at commit 5678a7bfceb3 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the gnutools/binutils-gdb line count measured?

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

### What commit was counted for gnutools/binutils-gdb?

This OctoCounts report was generated from master at commit 5678a7bfceb3 on November 16, 2026.

## Similar repository reports

- [TelegramMessenger/Telegram-iOS](https://octocounts.com/github/TelegramMessenger/Telegram-iOS) — C, 6,741,519 code lines
- [reactos/reactos](https://octocounts.com/github/reactos/reactos) — C, 7,908,192 code lines
- [wireshark/wireshark](https://octocounts.com/github/wireshark/wireshark) — C, 5,790,683 code lines
- [vcvkk/Telegram-iOS](https://octocounts.com/github/vcvkk/Telegram-iOS) — C, 5,661,625 code lines
- [wine-mirror/wine](https://octocounts.com/github/wine-mirror/wine) — C, 5,483,314 code lines
- [yugabyte/yugabyte-db](https://octocounts.com/github/yugabyte/yugabyte-db) — C, 4,911,413 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)
