gorhill/ublock SLOC report

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
JSON16113001113001001
JavaScript28010811185079135839449
CSS4672086584267357
HTML352171191759195
WebAssembly42519182665142
Shell1467848673119
SVG6254185645
Makefile11871351339
Python39665823
XML44400
Markdown1813340978356
Plain Text77168801244444

Top language (JSON 57.5%). Generated at 2026-07-08T16:39:09.881844460+00:00.

Report FAQ

How many lines of code does gorhill/ublock have?

gorhill/ublock has 254,261 total lines, including 226,291 code lines, 16,940 comment lines, and 11,030 blank lines.

How was the gorhill/ublock line count measured?

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.

What commit was counted for gorhill/ublock?

This OctoCounts report was generated from master at commit 028ffdbea37b on 2026-07-08T16:39:09.881844460+00:00.