wireshark/wireshark has 5,717,831 source lines of code out of 7,143,986 total lines across 5,177 files, counted from the master ref at commit c4817598e775 by the OctoCounts tokei engine on 2026-10-14. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-14 (commit c4817598e775), wireshark/wireshark contains 7,143,986 total lines: 5,717,831 code, 585,662 comments, 840,493 blank, across 5,177 files in 31 languages (top: C 83.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving wireshark/wireshark to commit c4817598e775, 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.
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,104 code lines per file. C accounts for 83.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 2487 | 5910114 | 4747980 | 404850 | 757284 |
| TypeScript | 19 | 357217 | 356165 | 0 | 1052 |
| C Header | 1495 | 392812 | 236976 | 118941 | 36895 |
| C++ | 352 | 195049 | 139050 | 31227 | 24772 |
| XML | 62 | 107073 | 102998 | 2187 | 1888 |
| Python | 86 | 62531 | 48525 | 7264 | 6742 |
| Perl | 35 | 25922 | 20840 | 1913 | 3169 |
| CMake | 266 | 28074 | 19934 | 4989 | 3151 |
| SVG | 180 | 18382 | 18091 | 156 | 135 |
| Bitbake | 1 | 9491 | 9021 | 178 | 292 |
| Shell | 37 | 6031 | 3840 | 1386 | 805 |
| Autoconf | 36 | 7430 | 3409 | 2782 | 1239 |
Top language (C 83.0%). Generated at .
wireshark/wireshark has 7,143,986 total lines, including 5,717,831 code lines, 585,662 comment lines, and 840,493 blank lines.
OctoCounts resolved the public GitHub repository to commit c4817598e775, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from master at commit c4817598e775 on 2026-10-14T13:14:18.991345918+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for wireshark/wireshark on this page — 5,717,831 code lines across 12 languages, counted by tokei.