moby/buildkit has 264,271 source lines of code out of 309,773 total lines across 1,282 files, counted with tokei from the master ref at commit dd75b4955087 on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-20 (commit dd75b4955087), moby/buildkit contains 309,773 total lines: 264,271 code, 12,267 comments, 33,235 blank, across 1,282 files in 13 languages (top language: Go 97.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving moby/buildkit to commit dd75b4955087, 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.
This is a large codebase by counted code lines. Code represents 85.3% of all lines, comments represent 4.0%, and the repository averages 206 code lines per file. Go accounts for 97.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 1113 | 302070 | 258811 | 11039 | 32220 |
| Dockerfile | 52 | 1800 | 1426 | 117 | 257 |
| JSON | 58 | 1381 | 1381 | 0 | 0 |
| Protocol Buffers | 16 | 1565 | 1110 | 199 | 256 |
| YAML | 20 | 868 | 777 | 70 | 21 |
| HCL | 2 | 466 | 401 | 2 | 63 |
| BASH | 4 | 199 | 163 | 6 | 30 |
| Makefile | 1 | 130 | 99 | 2 | 29 |
| Shell | 5 | 139 | 96 | 28 | 15 |
| TOML | 1 | 5 | 4 | 0 | 1 |
| INI | 1 | 3 | 3 | 0 | 0 |
| Markdown | 8 | 1142 | 0 | 801 | 341 |
Top language: Go 97.9%. Generated on .
moby/buildkit: 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.
moby/buildkit has 264,271 lines of code, plus 12,267 comment lines and 33,235 blank lines, for 309,773 total lines at commit dd75b4955087 on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit dd75b4955087, 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 dd75b4955087 on November 20, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for moby/buildkit on this page — 264,271 code lines across 13 languages, counted by tokei.