As of 2026-08-26 (commit 130badd3837a), moby/moby contains 400,420 total lines: 307,056 code, 41,875 comments, 51,489 blank, across 2,341 files in 19 languages (top: Go 93.6%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving moby/moby to commit 130badd3837a, 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 large codebase by counted code lines. Code represents 76.7% of all lines, comments represent 10.5%, and the repository averages 131 code lines per file. Go accounts for 93.6% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 2184 | 374237 | 287397 | 37777 | 49063 |
| YAML | 8 | 14155 | 13827 | 37 | 291 |
| Shell | 22 | 3081 | 2287 | 418 | 376 |
| Dockerfile | 11 | 919 | 700 | 112 | 107 |
| BASH | 27 | 1016 | 695 | 161 | 160 |
| Lua | 2 | 646 | 530 | 60 | 56 |
| PowerShell | 1 | 592 | 472 | 101 | 19 |
| Makefile | 3 | 401 | 286 | 41 | 74 |
| C | 11 | 330 | 271 | 16 | 43 |
| Protocol Buffers | 6 | 349 | 182 | 107 | 60 |
| Python | 1 | 193 | 162 | 6 | 25 |
| HCL | 1 | 218 | 158 | 30 | 30 |
Top language (Go 93.6%). Generated at .
moby/moby has 400,420 total lines, including 307,056 code lines, 41,875 comment lines, and 51,489 blank lines.
OctoCounts resolved the public GitHub repository to commit 130badd3837a, 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 130badd3837a on 2026-08-26T18:47:01.935587677+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: