# mainline-org/mainline SLOC report

> As of 2026-09-17 (commit 5704305b65d6), mainline-org/mainline contains 62,963 total lines: 49,012 code, 8,235 comments, 5,716 blank, across 225 files in 9 languages (top: Go 95.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

mainline-org/mainline has 49,012 source lines of code out of 62,963 total lines across 225 files, counted from the 5704305b65d6e7983c98b06a1a592e55da8958a0 ref at commit 5704305b65d6 by the OctoCounts tokei engine on 2026-09-17. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving mainline-org/mainline to commit 5704305b65d6, 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.

## Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 77.8% of all lines, comments represent 13.1%, and the repository averages 218 code lines per file. Go accounts for 95.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 188 | 58,316 | 46,953 | 6,483 | 4,880 |
| HTML | 13 | 762 | 716 | 0 | 46 |
| Shell | 6 | 547 | 397 | 66 | 84 |
| Python | 2 | 354 | 313 | 15 | 26 |
| CSS | 1 | 333 | 292 | 4 | 37 |
| Templ | 1 | 205 | 186 | 2 | 17 |
| JavaScript | 1 | 131 | 117 | 6 | 8 |
| Makefile | 1 | 77 | 38 | 22 | 17 |
| Markdown | 12 | 2,238 | 0 | 1,637 | 601 |

Top language (Go 95.8%). Generated at 2026-09-17T01:15:17.924289886+00:00. Canonical report: https://octocounts.com/github/mainline-org/mainline

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/mainline-org/mainline/commit/5704305b65d6e7983c98b06a1a592e55da8958a0?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does mainline-org/mainline have?

mainline-org/mainline has 62,963 total lines, including 49,012 code lines, 8,235 comment lines, and 5,716 blank lines.

### How was the mainline-org/mainline line count measured?

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

### What commit was counted for mainline-org/mainline?

This OctoCounts report was generated from 5704305b65d6e7983c98b06a1a592e55da8958a0 at commit 5704305b65d6 on 2026-09-17T01:15:17.924289886+00:00.

## Similar repository reports

- [SCKelemen/tui](https://octocounts.com/github/SCKelemen/tui) — Go, 48,496 code lines
- [docker/compose](https://octocounts.com/github/docker/compose) — Go, 49,742 code lines
- [openimsdk/open-im-server](https://octocounts.com/github/openimsdk/open-im-server) — Go, 50,147 code lines
- [cr-zhichen/DJOneHubNative](https://octocounts.com/github/cr-zhichen/DJOneHubNative) — Go, 46,344 code lines
- [Bronya0/ally-agent](https://octocounts.com/github/Bronya0/ally-agent) — Go, 52,196 code lines
- [IBM/sarama](https://octocounts.com/github/IBM/sarama) — Go, 54,020 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)
- [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)
