ziglang/zig SLOC report
As of 2026-08-03 (commit e4cbd752c8c0), ziglang/zig contains 887,521 total lines: 703,984 code, 94,561 comments, 88,976 blank, across 1,876 files in 16 languages (top: C Header 48.8%). Counted with tokei via OctoCounts.
Repository size insights
This is a large codebase by counted code lines. Code represents 79.3% of all lines, comments represent 10.7%, and the repository averages 375 code lines per file. C Header accounts for 48.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| C Header | 1354 | 454551 | 343249 | 60783 | 50519 |
| Zig | 219 | 309909 | 261790 | 21224 | 26895 |
| C++ | 208 | 75950 | 58941 | 8759 | 8250 |
| Bitbake | 26 | 23699 | 21867 | 929 | 903 |
| C++ Header | 20 | 12687 | 10617 | 939 | 1131 |
| GNU Style Assembly | 15 | 4147 | 3236 | 456 | 455 |
| C | 6 | 2071 | 1455 | 370 | 246 |
| CMake | 5 | 1552 | 1341 | 78 | 133 |
| Shell | 10 | 732 | 491 | 103 | 138 |
| JavaScript | 1 | 346 | 321 | 3 | 22 |
| CSS | 2 | 283 | 280 | 0 | 3 |
| PowerShell | 3 | 325 | 254 | 25 | 46 |
Top language (C Header 48.8%). Generated at 2026-08-03T17:11:42.839337690+00:00.
Report FAQ
How many lines of code does ziglang/zig have?
ziglang/zig has 887,521 total lines, including 703,984 code lines, 94,561 comment lines, and 88,976 blank lines.
How was the ziglang/zig line count measured?
OctoCounts resolved the public GitHub repository to commit e4cbd752c8c0, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for ziglang/zig?
This OctoCounts report was generated from 0.15.2 at commit e4cbd752c8c0 on 2026-08-03T17:11:42.839337690+00:00.