# filecoin-project/lotus SLOC report

> filecoin-project/lotus: 310,351 code lines at commit e53722de438a, counted with tokei-15.0.0 on 2026-11-16. Saved result 50286c3a2feaa87e43bada140dc9e6acdab55df3473387c62f069938b6e2168e.

filecoin-project/lotus has 310,351 source lines of code out of 399,847 total lines across 1,581 files, counted with tokei from the master ref at commit e53722de438a on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving filecoin-project/lotus to commit e53722de438a, 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

filecoin-project/lotus: 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 large codebase by counted code lines. Code represents 77.6% of all lines, comments represent 6.0%, and the repository averages 196 code lines per file. Go accounts for 95.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 1,424 | 381,803 | 296,479 | 21,611 | 63,713 |
| JSON | 8 | 10,180 | 10,180 | 0 | 0 |
| Solidity | 38 | 2,114 | 1,630 | 153 | 331 |
| Shell | 21 | 683 | 465 | 54 | 164 |
| Makefile | 1 | 434 | 320 | 16 | 98 |
| BASH | 5 | 435 | 312 | 14 | 109 |
| CSS | 2 | 305 | 247 | 8 | 50 |
| Dockerfile | 2 | 259 | 183 | 19 | 57 |
| YAML | 4 | 262 | 159 | 83 | 20 |
| HTML | 3 | 126 | 121 | 0 | 5 |
| Templ | 2 | 87 | 81 | 0 | 6 |
| SQL | 3 | 54 | 49 | 0 | 5 |
| Assembly | 1 | 47 | 47 | 0 | 0 |
| HEX | 43 | 43 | 43 | 0 | 0 |
| Python | 1 | 30 | 20 | 4 | 6 |
| XML | 1 | 13 | 13 | 0 | 0 |
| TOML | 1 | 2 | 2 | 0 | 0 |
| Markdown | 19 | 2,931 | 0 | 2,172 | 759 |
| Plain Text | 2 | 39 | 0 | 38 | 1 |

Top language: Go 95.5%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/filecoin-project/lotus/commit/e53722de438acb89949e9d78c37a6db58b679609?reportId=50286c3a2feaa87e43bada140dc9e6acdab55df3473387c62f069938b6e2168e&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/filecoin-project/lotus/commit/e53722de438acb89949e9d78c37a6db58b679609?reportId=50286c3a2feaa87e43bada140dc9e6acdab55df3473387c62f069938b6e2168e&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 filecoin-project/lotus have?

filecoin-project/lotus has 310,351 lines of code, plus 24,172 comment lines and 65,324 blank lines, for 399,847 total lines at commit e53722de438a on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the filecoin-project/lotus line count measured?

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

### What commit was counted for filecoin-project/lotus?

This OctoCounts report was generated from master at commit e53722de438a on November 16, 2026.

## Similar repository reports

- [Sakayori-Iroha-168/Software_Teamwork](https://octocounts.com/github/Sakayori-Iroha-168/Software_Teamwork) — Go, 308,189 code lines
- [sunstoneinstitute/worklode](https://octocounts.com/github/sunstoneinstitute/worklode) — Go, 306,995 code lines
- [NVIDIA/NVSentinel](https://octocounts.com/github/NVIDIA/NVSentinel) — Go, 303,535 code lines
- [lalitadithya/NVSentinel](https://octocounts.com/github/lalitadithya/NVSentinel) — Go, 297,880 code lines
- [vivaui/viva](https://octocounts.com/github/vivaui/viva) — Go, 327,610 code lines
- [kubefleet-dev/kubefleet](https://octocounts.com/github/kubefleet-dev/kubefleet) — Go, 291,383 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)
- [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)
