# gorhill/uBlock SLOC report

> gorhill/uBlock: 229,217 code lines at commit 9510a0b38cdb, counted with tokei-15.0.0 on 2026-11-15. Saved result df2bb84fb27697bb402839fb61ed75bcc94b04bb9d4552eddbbc0e3402fa5a50.

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.

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.

## 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.

## 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.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 161 | 131,142 | 131,141 | 0 | 1 |
| JavaScript | 294 | 110,274 | 86,829 | 13,910 | 9,535 |
| CSS | 46 | 7,232 | 6,606 | 267 | 359 |
| HTML | 35 | 2,177 | 1,923 | 59 | 195 |
| WebAssembly | 4 | 2,519 | 1,826 | 651 | 42 |
| Shell | 14 | 693 | 501 | 73 | 119 |
| SVG | 6 | 254 | 185 | 64 | 5 |
| Makefile | 1 | 189 | 137 | 13 | 39 |
| Python | 3 | 96 | 65 | 8 | 23 |
| XML | 4 | 4 | 4 | 0 | 0 |
| Markdown | 19 | 1,445 | 0 | 1,060 | 385 |
| Plain Text | 77 | 1,688 | 0 | 1,244 | 444 |

Top programming language: JavaScript 37.9%. Generated on November 15, 2026. Canonical report: https://octocounts.com/github/gorhill/uBlock/commit/9510a0b38cdbb95e88f2bd033c0da85bfd4b1b4c?reportId=df2bb84fb27697bb402839fb61ed75bcc94b04bb9d4552eddbbc0e3402fa5a50&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

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

## 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

- [WKQ9411/Mini-LLM](https://octocounts.com/github/WKQ9411/Mini-LLM) — JSON, 229,518 code lines
- [lackx741-tech/offload](https://octocounts.com/github/lackx741-tech/offload) — JSON, 224,468 code lines
- [halo-dev/halo](https://octocounts.com/github/halo-dev/halo) — JSON, 224,268 code lines
- [TelegramMessenger/widget-sandbox](https://octocounts.com/github/TelegramMessenger/widget-sandbox) — JSON, 223,551 code lines
- [AlexsJones/llmfit](https://octocounts.com/github/AlexsJones/llmfit) — JSON, 236,161 code lines
- [nicotsx/zerobyte](https://octocounts.com/github/nicotsx/zerobyte) — JSON, 220,808 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)
- [React vs Vue](https://octocounts.com/compare/react-vs-vue)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Vite vs webpack](https://octocounts.com/compare/vite-vs-webpack)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
