As of 2026-08-25 (commit ed1a9c21e329), plan9foundation/plan9 contains 2,112,792 total lines: 1,659,936 code, 238,248 comments, 214,608 blank, across 6,725 files in 42 languages (top: C 85.0%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving plan9foundation/plan9 to commit ed1a9c21e329, 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 78.6% of all lines, comments represent 11.3%, and the repository averages 247 code lines per file. C accounts for 85.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 4757 | 1755932 | 1410478 | 167281 | 178173 |
| C Header | 1336 | 221247 | 150771 | 47158 | 23318 |
| SWIG | 4 | 24226 | 23922 | 300 | 4 |
| GNU Style Assembly | 264 | 28632 | 20477 | 4365 | 3790 |
| Happy | 26 | 14522 | 13560 | 0 | 962 |
| Makefile | 92 | 21486 | 12070 | 5124 | 4292 |
| TeX | 1 | 4466 | 4465 | 1 | 0 |
| Shell | 43 | 5036 | 3612 | 733 | 691 |
| HTML | 20 | 2993 | 2936 | 18 | 39 |
| R | 1 | 2542 | 2519 | 1 | 22 |
| C++ | 3 | 3130 | 2435 | 339 | 356 |
| Prolog | 4 | 3352 | 2239 | 14 | 1099 |
Top language (C 85.0%). Generated at 2026-08-25T18:48:04.116147571+00:00.
plan9foundation/plan9 has 2,112,792 total lines, including 1,659,936 code lines, 238,248 comment lines, and 214,608 blank lines.
OctoCounts resolved the public GitHub repository to commit ed1a9c21e329, 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 main at commit ed1a9c21e329 on 2026-08-25T18:48:04.116147571+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: