# fluxcd/flux2 SLOC report

> As of 2026-08-26 (commit da2d22d36901), fluxcd/flux2 contains 51,067 total lines: 35,469 code, 9,089 comments, 6,509 blank, across 548 files in 9 languages (top: Go 83.8%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving fluxcd/flux2 to commit da2d22d36901, 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 69.5% of all lines, comments represent 17.8%, and the repository averages 65 code lines per file. Go accounts for 83.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 326 | 41,110 | 29,734 | 6,086 | 5,290 |
| YAML | 185 | 5,381 | 5,268 | 22 | 91 |
| Shell | 2 | 307 | 229 | 40 | 38 |
| JSON | 5 | 147 | 147 | 0 | 0 |
| Makefile | 1 | 99 | 75 | 3 | 21 |
| Dockerfile | 1 | 21 | 13 | 0 | 8 |
| TOML | 1 | 3 | 3 | 0 | 0 |
| Markdown | 22 | 3,984 | 0 | 2,923 | 1,061 |
| Plain Text | 5 | 15 | 0 | 15 | 0 |

Top language (Go 83.8%). Generated at 2026-08-26T18:21:15.333456361+00:00. Canonical report: https://octocounts.com/github/fluxcd/flux2

## Report FAQ

### How many lines of code does fluxcd/flux2 have?

fluxcd/flux2 has 51,067 total lines, including 35,469 code lines, 9,089 comment lines, and 6,509 blank lines.

### How was the fluxcd/flux2 line count measured?

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

### What commit was counted for fluxcd/flux2?

This OctoCounts report was generated from main at commit da2d22d36901 on 2026-08-26T18:21:15.333456361+00:00.

## Similar repository reports

- [masterking32/MasterDnsVPN](https://octocounts.com/github/masterking32/MasterDnsVPN) — Go, 35,505 code lines
- [YTwsy/OpenSurge-for-Mac](https://octocounts.com/github/YTwsy/OpenSurge-for-Mac) — Go, 35,711 code lines
- [refraction-networking/utls](https://octocounts.com/github/refraction-networking/utls) — Go, 34,419 code lines
- [go-kratos/blades](https://octocounts.com/github/go-kratos/blades) — Go, 33,869 code lines
- [labstack/echo](https://octocounts.com/github/labstack/echo) — Go, 33,273 code lines
- [agentrq/agentrq](https://octocounts.com/github/agentrq/agentrq) — Go, 33,155 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)
- [OctoCounts API docs](https://octocounts.com/docs/api)
