Uniswap/interface has 1,111,478 source lines of code out of 1,370,609 total lines across 11,540 files, counted with tokei from the main ref at commit 8fc28886f3bb on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-12 (commit 8fc28886f3bb), Uniswap/interface contains 1,370,609 total lines: 1,111,478 code, 136,807 comments, 122,324 blank, across 11,540 files in 26 languages (top language: TypeScript 47.5%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving Uniswap/interface to commit 8fc28886f3bb, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a very large codebase by counted code lines. Code represents 81.1% of all lines, comments represent 10.0%, and the repository averages 96 code lines per file. TypeScript accounts for 47.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 6107 | 670877 | 528465 | 69611 | 72801 |
| TSX | 4239 | 492145 | 419886 | 28218 | 44041 |
| JSON | 278 | 110080 | 110076 | 0 | 4 |
| XML | 36 | 32097 | 32037 | 20 | 40 |
| Swift | 50 | 6166 | 4408 | 911 | 847 |
| Kotlin | 54 | 4717 | 3667 | 559 | 491 |
| JavaScript | 36 | 3979 | 3096 | 563 | 320 |
| Shell | 32 | 5075 | 2875 | 1839 | 361 |
| CSS | 42 | 3786 | 2777 | 734 | 275 |
| SVG | 437 | 2676 | 2660 | 6 | 10 |
| YAML | 37 | 775 | 540 | 178 | 57 |
| HTML | 8 | 296 | 224 | 40 | 32 |
Top language: TypeScript 47.5%. Generated on .
Uniswap/interface: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
Uniswap/interface has 1,111,478 lines of code, plus 136,807 comment lines and 122,324 blank lines, for 1,370,609 total lines at commit 8fc28886f3bb on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 8fc28886f3bb, 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 main at commit 8fc28886f3bb on November 12, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for Uniswap/interface on this page — 1,111,478 code lines across 26 languages, counted by tokei.