gorhill/uBlock

gorhill/uBlock has 229,217 source lines of code out of 257,713 total lines across 664 files, counted with tokei from the master ref at commit 9510a0b38cdb on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-15 (commit 9510a0b38cdb), gorhill/uBlock contains 257,713 total lines: 229,217 code, 17,349 comments, 11,147 blank, across 664 files in 12 languages (top programming language: JavaScript 37.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-15 (commit 9510a0b38cdb), gorhill/uBlock contains 257,713 total lines: 229,217 code, 17,349 comments, 11,147 blank, across 664 files in 12 languages (top programming language: JavaScript 37.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving gorhill/uBlock to commit 9510a0b38cdb, 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.

Repository size insights

This is a large codebase by counted code lines. Code represents 88.9% of all lines, comments represent 6.7%, and the repository averages 345 code lines per file. JavaScript is the largest programming language at 37.9% of counted code; data and prose formats such as JSON or YAML hold a larger share.

LanguageFilesLinesCodeCommentsBlanks
JSON16113114213114101
JavaScript29411027486829139109535
CSS4672326606267359
HTML352177192359195
WebAssembly42519182665142
Shell1469350173119
SVG6254185645
Makefile11891371339
Python39665823
XML44400
Markdown19144501060385
Plain Text77168801244444

Top programming language: JavaScript 37.9%. Generated on .

Counting rules and retention

gorhill/uBlock: 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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does gorhill/uBlock have?

gorhill/uBlock has 229,217 lines of code, plus 17,349 comment lines and 11,147 blank lines, for 257,713 total lines at commit 9510a0b38cdb on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the gorhill/uBlock line count measured?

OctoCounts resolved the public GitHub repository to commit 9510a0b38cdb, 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 9510a0b38cdb on November 15, 2026.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity:

Play the growth animation for gorhill/uBlock on this page — 229,217 code lines across 12 languages, counted by tokei.