metallb/metallb has 148,753 source lines of code out of 181,600 total lines across 937 files, counted with tokei from the 6be06621dd32170bb36cc0a6499d59bc0489fa6c ref at commit 6be06621dd32 on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-09 (commit 6be06621dd32), metallb/metallb contains 181,600 total lines: 148,753 code, 18,607 comments, 14,240 blank, across 937 files in 20 languages (top language: Go 37.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving metallb/metallb to commit 6be06621dd32, 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 81.9% of all lines, comments represent 10.2%, and the repository averages 159 code lines per file. Go accounts for 37.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 219 | 64517 | 55682 | 3009 | 5826 |
| YAML | 153 | 51068 | 50581 | 383 | 104 |
| JavaScript | 128 | 15629 | 13511 | 1312 | 806 |
| SVG | 12 | 9733 | 9732 | 1 | 0 |
| CSS | 32 | 7939 | 7016 | 189 | 734 |
| JSON | 9 | 4561 | 4561 | 0 | 0 |
| HTML | 128 | 3097 | 3012 | 14 | 71 |
| TOML | 33 | 3938 | 2247 | 604 | 1087 |
| Python | 1 | 1754 | 1483 | 66 | 205 |
| Templ | 6 | 227 | 208 | 0 | 19 |
| Shell | 5 | 208 | 145 | 14 | 49 |
| Pan | 5 | 174 | 139 | 5 | 30 |
Top language: Go 37.4%. Generated on .
metallb/metallb: 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.
metallb/metallb has 148,753 lines of code, plus 18,607 comment lines and 14,240 blank lines, for 181,600 total lines at commit 6be06621dd32 on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 6be06621dd32, 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 6be06621dd32170bb36cc0a6499d59bc0489fa6c at commit 6be06621dd32 on November 9, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for metallb/metallb on this page — 148,753 code lines across 20 languages, counted by tokei.