# go-sql-driver/mysql SLOC report

> go-sql-driver/mysql: 14,710 code lines at commit 4b12a5b6e7fb, counted with tokei-14.0.0 on 2026-10-16. Saved result ab5ad0b3d45bfc340739826a2c8fbcc9d4cd713e6cf4b4a2e1e7b7d170dec8dc.

go-sql-driver/mysql has 14,710 source lines of code out of 19,722 total lines across 63 files, counted from the master ref at commit 4b12a5b6e7fb by the OctoCounts tokei engine on 2026-10-16. 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 go-sql-driver/mysql to commit 4b12a5b6e7fb, 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 74.6% of all lines, comments represent 13.9%, and the repository averages 233 code lines per file. Go accounts for 100.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 60 | 18,648 | 14,710 | 1,980 | 1,958 |
| Markdown | 3 | 1,074 | 0 | 758 | 316 |

Top language (Go 100.0%). Generated at 2026-10-16T17:03:08.512279009Z. Canonical report: https://octocounts.com/github/go-sql-driver/mysql/commit/4b12a5b6e7fb8951a847f1b61485a59f337ada18?reportId=ab5ad0b3d45bfc340739826a2c8fbcc9d4cd713e6cf4b4a2e1e7b7d170dec8dc&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/go-sql-driver/mysql/commit/4b12a5b6e7fb8951a847f1b61485a59f337ada18?reportId=ab5ad0b3d45bfc340739826a2c8fbcc9d4cd713e6cf4b4a2e1e7b7d170dec8dc&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does go-sql-driver/mysql have?

go-sql-driver/mysql has 19,722 total lines, including 14,710 code lines, 2,738 comment lines, and 2,274 blank lines.

### How was the go-sql-driver/mysql line count measured?

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

### What commit was counted for go-sql-driver/mysql?

This OctoCounts report was generated from master at commit 4b12a5b6e7fb on 2026-10-16T17:03:08.512279009Z.

## Similar repository reports

- [clintharrison/go-gtk](https://octocounts.com/github/clintharrison/go-gtk) — Go, 14,859 code lines
- [lxc/distrobuilder](https://octocounts.com/github/lxc/distrobuilder) — Go, 14,885 code lines
- [traggo/server](https://octocounts.com/github/traggo/server) — Go, 15,014 code lines
- [Charlie-BU/TongjiStudentAgent](https://octocounts.com/github/Charlie-BU/TongjiStudentAgent) — Go, 14,381 code lines
- [google/ax](https://octocounts.com/github/google/ax) — Go, 14,353 code lines
- [kupr666/Orange_Team](https://octocounts.com/github/kupr666/Orange_Team) — Go, 14,308 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)
