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.
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 | 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.
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.