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.
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 | 1776 | 363051 | 258674 | 68062 | 36315 |
| GNU Style Assembly | 21 | 1994 | 1705 | 122 | 167 |
| JavaScript | 9 | 1933 | 1465 | 225 | 243 |
| CSS | 6 | 1105 | 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.
golang/tools has 373,325 total lines, including 263,724 code lines, 71,919 comment lines, and 37,682 blank lines.
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.
This OctoCounts report was generated from master at commit b441908e32e0 on 2026-07-17T13:06:14.252347812+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: