As of 2026-07-08 (commit 028ffdbea37b), gorhill/ublock contains 254,261 total lines: 226,291 code, 16,940 comments, 11,030 blank, across 649 files in 12 languages (top: JSON 57.5%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving gorhill/ublock to commit 028ffdbea37b, 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 89.0% of all lines, comments represent 6.7%, and the repository averages 349 code lines per file. JSON accounts for 57.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JSON | 161 | 130011 | 130010 | 0 | 1 |
| JavaScript | 280 | 108111 | 85079 | 13583 | 9449 |
| CSS | 46 | 7208 | 6584 | 267 | 357 |
| HTML | 35 | 2171 | 1917 | 59 | 195 |
| WebAssembly | 4 | 2519 | 1826 | 651 | 42 |
| Shell | 14 | 678 | 486 | 73 | 119 |
| SVG | 6 | 254 | 185 | 64 | 5 |
| Makefile | 1 | 187 | 135 | 13 | 39 |
| Python | 3 | 96 | 65 | 8 | 23 |
| XML | 4 | 4 | 4 | 0 | 0 |
| Markdown | 18 | 1334 | 0 | 978 | 356 |
| Plain Text | 77 | 1688 | 0 | 1244 | 444 |
Top language (JSON 57.5%). Generated at 2026-07-08T16:39:09.881844460+00:00.
gorhill/ublock has 254,261 total lines, including 226,291 code lines, 16,940 comment lines, and 11,030 blank lines.
OctoCounts resolved the public GitHub repository to commit 028ffdbea37b, 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 028ffdbea37b on 2026-07-08T16:39:09.881844460+00:00.