# sqlite/sqlite SLOC report

> As of 2026-10-08 (commit b0db2db98870), sqlite/sqlite contains 580,557 total lines: 387,797 code, 157,221 comments, 35,539 blank, across 587 files in 19 languages (top: C 78.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

sqlite/sqlite has 387,797 source lines of code out of 580,557 total lines across 587 files, counted from the master ref at commit b0db2db98870 by the OctoCounts tokei engine on 2026-10-08. 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 sqlite/sqlite to commit b0db2db98870, 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 66.8% of all lines, comments represent 27.1%, and the repository averages 661 code lines per file. C accounts for 78.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 283 | 420,675 | 303,073 | 90,418 | 27,184 |
| Autoconf | 13 | 27,943 | 24,936 | 2,003 | 1,004 |
| JavaScript | 36 | 28,194 | 16,525 | 10,639 | 1,030 |
| TCL | 75 | 22,862 | 15,569 | 5,663 | 1,630 |
| C Header | 42 | 21,211 | 9,720 | 10,104 | 1,387 |
| Java | 58 | 13,480 | 8,418 | 3,995 | 1,067 |
| Makefile | 5 | 4,979 | 2,674 | 1,821 | 484 |
| Shell | 15 | 3,145 | 2,336 | 571 | 238 |
| Happy | 2 | 2,366 | 2,145 | 0 | 221 |
| HTML | 17 | 1,102 | 1,033 | 50 | 19 |
| Batch | 3 | 1,198 | 625 | 413 | 160 |
| C# | 2 | 694 | 307 | 297 | 90 |

Top language (C 78.2%). Generated at 2026-10-08T02:26:58.789850785+00:00. Canonical report: https://octocounts.com/github/sqlite/sqlite

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/sqlite/sqlite/commit/b0db2db98870acc7917329bc904ee1265e906bf6?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does sqlite/sqlite have?

sqlite/sqlite has 580,557 total lines, including 387,797 code lines, 157,221 comment lines, and 35,539 blank lines.

### How was the sqlite/sqlite line count measured?

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

### What commit was counted for sqlite/sqlite?

This OctoCounts report was generated from master at commit b0db2db98870 on 2026-10-08T02:26:58.789850785+00:00.

## Similar repository reports

- [NetHack/NetHack](https://octocounts.com/github/NetHack/NetHack) — C, 395,033 code lines
- [colbymchenry/codegraph](https://octocounts.com/github/colbymchenry/codegraph) — C, 378,938 code lines
- [xiaojieonly/Ehviewer_CN_SXJ](https://octocounts.com/github/xiaojieonly/Ehviewer_CN_SXJ) — C, 376,537 code lines
- [sqlcipher/sqlcipher](https://octocounts.com/github/sqlcipher/sqlcipher) — C, 374,108 code lines
- [rusqlite/rusqlite](https://octocounts.com/github/rusqlite/rusqlite) — C, 407,542 code lines
- [X11Libre/xserver](https://octocounts.com/github/X11Libre/xserver) — C, 353,208 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)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [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)
