# gnutools/binutils-gdb SLOC report

> As of 2026-11-10 (commit 49465fb034a8), gnutools/binutils-gdb contains 8,917,536 total lines: 7,009,971 code, 1,065,381 comments, 842,184 blank, across 35,691 files in 62 languages (top language: C 36.7%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

gnutools/binutils-gdb has 7,009,971 source lines of code out of 8,917,536 total lines across 35,691 files, counted with tokei from the master ref at commit 49465fb034a8 on November 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving gnutools/binutils-gdb to commit 49465fb034a8, 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,172 | 3,366,388 | 2,572,185 | 432,135 | 362,068 |
| D | 12,191 | 1,681,881 | 1,640,705 | 29 | 41,147 |
| GNU Style Assembly | 10,540 | 1,332,175 | 1,240,474 | 22,165 | 69,536 |
| PO File | 140 | 999,642 | 443,559 | 359,746 | 196,337 |
| C Header | 2,190 | 641,107 | 424,451 | 135,112 | 81,544 |
| C++ | 718 | 322,296 | 241,722 | 42,429 | 38,145 |
| Autoconf | 114 | 171,440 | 142,325 | 11,173 | 17,942 |
| Lex | 1,584 | 75,315 | 74,187 | 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 |

Top language: C 36.7%. Generated on November 10, 2026. Canonical report: https://octocounts.com/github/gnutools/binutils-gdb

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/gnutools/binutils-gdb/commit/49465fb034a8e92b01589cf0ce8db2843de4218c?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=3e2d57b8e5ba4b972b072032044026ede9c108a095a33c13c78dafc75774ecac).

## Report FAQ

### How many lines of code does gnutools/binutils-gdb have?

gnutools/binutils-gdb has 7,009,971 lines of code, plus 1,065,381 comment lines and 842,184 blank lines, for 8,917,536 total lines at commit 49465fb034a8 on November 10, 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 49465fb034a8, 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 49465fb034a8 on November 10, 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,904,717 code lines
- [wireshark/wireshark](https://octocounts.com/github/wireshark/wireshark) — C, 5,782,374 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,480,867 code lines
- [yugabyte/yugabyte-db](https://octocounts.com/github/yugabyte/yugabyte-db) — C, 4,893,949 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)
