# golang/tools SLOC report

> As of 2026-07-17 (commit b441908e32e0), golang/tools contains 373,325 total lines: 263,724 code, 71,919 comments, 37,682 blank, across 1,912 files in 19 languages (top: Go 98.1%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving golang/tools to commit b441908e32e0, 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 large codebase by counted code lines. Code represents 70.6% of all lines, comments represent 19.3%, and the repository averages 138 code lines per file. Go accounts for 98.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 1,776 | 363,051 | 258,674 | 68,062 | 36,315 |
| GNU Style Assembly | 21 | 1,994 | 1,705 | 122 | 167 |
| JavaScript | 9 | 1,933 | 1,465 | 225 | 243 |
| CSS | 6 | 1,105 | 944 | 19 | 142 |
| Templ | 5 | 444 | 372 | 11 | 61 |
| Happy | 1 | 202 | 175 | 0 | 27 |
| Prolog | 5 | 150 | 116 | 0 | 34 |
| Shell | 4 | 183 | 110 | 49 | 24 |
| JSON | 1 | 50 | 50 | 0 | 0 |
| YAML | 3 | 87 | 50 | 28 | 9 |
| BASH | 1 | 68 | 47 | 13 | 8 |
| C | 1 | 8 | 7 | 0 | 1 |

Top language (Go 98.1%). Generated at 2026-07-17T13:06:14.252347812+00:00. Canonical report: https://octocounts.com/github/golang/tools

## Report FAQ

### How many lines of code does golang/tools have?

golang/tools has 373,325 total lines, including 263,724 code lines, 71,919 comment lines, and 37,682 blank lines.

### How was the golang/tools line count measured?

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

### What commit was counted for golang/tools?

This OctoCounts report was generated from master at commit b441908e32e0 on 2026-07-17T13:06:14.252347812+00:00.

## Similar repository reports

- [DEEIX-AI/DEEIX-Chat](https://octocounts.com/github/DEEIX-AI/DEEIX-Chat) — Go, 267,489 code lines
- [multica-ai/multica](https://octocounts.com/github/multica-ai/multica) — Go, 267,717 code lines
- [kovidgoyal/kitty](https://octocounts.com/github/kovidgoyal/kitty) — Go, 270,304 code lines
- [Codeberg-org/gitea](https://octocounts.com/github/Codeberg-org/gitea) — Go, 270,689 code lines
- [cli/cli](https://octocounts.com/github/cli/cli) — Go, 238,069 code lines
- [krahets/hello-algo](https://octocounts.com/github/krahets/hello-algo) — Go, 296,436 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)
