# milvus-io/milvus SLOC report

> milvus-io/milvus: 2,163,489 code lines at commit 08d5f216f563, counted with tokei-15.0.0 on 2026-11-24. Saved result ccb58aa84274019bd1d8812243e71efbcbfb4c3b9a604175be120e33af21ec51.

Source: [milvus-io/milvus on GitHub](https://github.com/milvus-io/milvus) · counted commit [08d5f216f563](https://github.com/milvus-io/milvus/tree/08d5f216f56390828c9e416433b22580f88b19b5)

milvus-io/milvus has 2,163,489 source lines of code out of 2,686,450 total lines across 6,944 files, counted with tokei from the master ref at commit 08d5f216f563 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving milvus-io/milvus to commit 08d5f216f563, 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.

## Counting rules and retention

milvus-io/milvus: 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.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 80.5% of all lines, comments represent 9.1%, and the repository averages 312 code lines per file. Go accounts for 74.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 5,313 | 2,003,323 | 1,605,889 | 183,848 | 213,586 |
| C++ | 637 | 428,118 | 365,485 | 26,136 | 36,497 |
| C Header | 564 | 132,205 | 95,854 | 20,518 | 15,833 |
| JSON | 15 | 24,027 | 24,027 | 0 | 0 |
| Rust | 105 | 23,600 | 20,960 | 488 | 2,152 |
| C | 4 | 17,412 | 14,141 | 92 | 3,179 |
| Python | 36 | 17,722 | 13,414 | 2,173 | 2,135 |
| Protocol Buffers | 24 | 10,134 | 7,188 | 1,684 | 1,262 |
| Shell | 52 | 6,531 | 4,639 | 1,177 | 715 |
| YAML | 33 | 3,672 | 2,697 | 825 | 150 |
| CMake | 49 | 3,605 | 2,353 | 847 | 405 |
| HTML | 2 | 2,064 | 1,970 | 12 | 82 |
| Groovy | 13 | 2,049 | 1,500 | 421 | 128 |
| JavaScript | 1 | 1,502 | 1,433 | 69 | 0 |
| Makefile | 3 | 821 | 598 | 91 | 132 |
| C++ Header | 7 | 671 | 551 | 32 | 88 |
| SQL | 1 | 270 | 231 | 23 | 16 |
| TOML | 6 | 215 | 182 | 11 | 22 |
| Batch | 5 | 173 | 153 | 0 | 20 |
| GNU Style Assembly | 2 | 119 | 101 | 6 | 12 |
| XML | 1 | 38 | 38 | 0 | 0 |
| Autoconf | 5 | 43 | 34 | 1 | 8 |
| INI | 1 | 53 | 34 | 10 | 9 |
| SVG | 1 | 12 | 12 | 0 | 0 |
| Forge Config | 1 | 4 | 4 | 0 | 0 |
| CSS | 1 | 1 | 1 | 0 | 0 |
| Markdown | 49 | 6,649 | 0 | 5,277 | 1,372 |
| Plain Text | 13 | 1,417 | 0 | 1,412 | 5 |

Top language: Go 74.2%. Generated on November 24, 2026. Canonical report: https://octocounts.com/github/milvus-io/milvus/commit/08d5f216f56390828c9e416433b22580f88b19b5?reportId=ccb58aa84274019bd1d8812243e71efbcbfb4c3b9a604175be120e33af21ec51&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/milvus-io/milvus/commit/08d5f216f56390828c9e416433b22580f88b19b5?reportId=ccb58aa84274019bd1d8812243e71efbcbfb4c3b9a604175be120e33af21ec51&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does milvus-io/milvus have?

milvus-io/milvus has 2,163,489 lines of code, plus 245,153 comment lines and 277,808 blank lines, for 2,686,450 total lines at commit 08d5f216f563 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the milvus-io/milvus line count measured?

OctoCounts resolved the public GitHub repository to commit 08d5f216f563, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for milvus-io/milvus?

This OctoCounts report was generated from master at commit 08d5f216f563 on November 24, 2026.

## Similar repository reports

- [golang/go](https://octocounts.com/github/golang/go) — Go, 2,185,023 code lines
- [sourcegraph/sourcegraph-public-snapshot](https://octocounts.com/github/sourcegraph/sourcegraph-public-snapshot) — Go, 1,949,533 code lines
- [open-telemetry/opentelemetry-collector-contrib](https://octocounts.com/github/open-telemetry/opentelemetry-collector-contrib) — Go, 1,905,815 code lines
- [gravitational/teleport](https://octocounts.com/github/gravitational/teleport) — Go, 2,513,355 code lines
- [mudler/LocalAI](https://octocounts.com/github/mudler/LocalAI) — Go, 1,820,319 code lines
- [mattermost/mattermost](https://octocounts.com/github/mattermost/mattermost) — Go, 2,594,870 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [Milvus vs Qdrant](https://octocounts.com/compare/milvus-vs-qdrant)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
