# wireshark/wireshark SLOC report

> As of 2026-10-23 (commit bf16d31018cf), wireshark/wireshark contains 7,137,026 total lines: 5,709,778 code, 586,351 comments, 840,897 blank, across 5,091 files in 31 languages (top: C 83.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

wireshark/wireshark has 5,709,778 source lines of code out of 7,137,026 total lines across 5,091 files, counted from the master ref at commit bf16d31018cf by the OctoCounts tokei engine on 2026-10-23. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving wireshark/wireshark to commit bf16d31018cf, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 80.0% of all lines, comments represent 8.2%, and the repository averages 1,122 code lines per file. C accounts for 83.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 2,492 | 5,915,506 | 4,752,564 | 405,228 | 757,714 |
| TypeScript | 19 | 357,354 | 356,302 | 0 | 1,052 |
| C Header | 1,499 | 393,442 | 237,110 | 119,349 | 36,983 |
| C++ | 353 | 196,424 | 140,068 | 31,429 | 24,927 |
| XML | 62 | 107,058 | 102,983 | 2,187 | 1,888 |
| Python | 86 | 62,563 | 48,550 | 7,267 | 6,746 |
| CMake | 265 | 28,071 | 19,932 | 4,992 | 3,147 |
| Perl | 34 | 24,562 | 19,862 | 1,662 | 3,038 |
| Bitbake | 1 | 9,491 | 9,021 | 178 | 292 |
| SVG | 87 | 5,423 | 5,326 | 64 | 33 |
| Shell | 35 | 5,727 | 3,655 | 1,319 | 753 |
| Autoconf | 36 | 7,433 | 3,414 | 2,781 | 1,238 |

Top language (C 83.2%). Generated at 2026-10-23T08:56:57.302567424+00:00. Canonical report: https://octocounts.com/github/wireshark/wireshark

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/wireshark/wireshark/commit/bf16d31018cfbc14f261f37a380442969c97d328?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=c4e108d2b9fb327e919d9b7a9f06153c6ac352496c7c41adea0c524b12f53c2f).

## Report FAQ

### How many lines of code does wireshark/wireshark have?

wireshark/wireshark has 7,137,026 total lines, including 5,709,778 code lines, 586,351 comment lines, and 840,897 blank lines.

### How was the wireshark/wireshark line count measured?

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

### What commit was counted for wireshark/wireshark?

This OctoCounts report was generated from master at commit bf16d31018cf on 2026-10-23T08:56:57.302567424+00:00.

## Similar repository reports

- [vcvkk/Telegram-iOS](https://octocounts.com/github/vcvkk/Telegram-iOS) — C, 5,661,625 code lines
- [TelegramMessenger/Telegram-iOS](https://octocounts.com/github/TelegramMessenger/Telegram-iOS) — C, 6,252,797 code lines
- [yugabyte/yugabyte-db](https://octocounts.com/github/yugabyte/yugabyte-db) — C, 4,813,469 code lines
- [gnutools/binutils-gdb](https://octocounts.com/github/gnutools/binutils-gdb) — C, 7,017,533 code lines
- [reactos/reactos](https://octocounts.com/github/reactos/reactos) — C, 7,814,514 code lines
- [zephyrproject-rtos/zephyr](https://octocounts.com/github/zephyrproject-rtos/zephyr) — C, 3,701,475 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)
- [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)
