# safing/portmaster SLOC report

> safing/portmaster: 340,245 code lines at commit bffef134cd70, counted with tokei-14.0.0 on 2026-10-30. Saved result 77049f92a5ebbc7ba16db7afeb67f0985c719362be80a4c980fa910b3c6df083.

Source: [safing/portmaster on GitHub](https://github.com/safing/portmaster) · counted commit [bffef134cd70](https://github.com/safing/portmaster/tree/bffef134cd709d2a74295cd8450cf0c6231bd60d)

safing/portmaster has 340,245 source lines of code out of 412,785 total lines across 1,615 files, counted with tokei from the development ref at commit bffef134cd70 on October 30, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving safing/portmaster to commit bffef134cd70, 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

safing/portmaster: tokei-14.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 82.4% of all lines, comments represent 7.2%, and the repository averages 211 code lines per file. Go accounts for 45.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 859 | 190,736 | 154,348 | 17,176 | 19,212 |
| C Header | 7 | 126,928 | 107,919 | 4,810 | 14,199 |
| TypeScript | 328 | 32,042 | 24,027 | 3,623 | 4,392 |
| JSON | 31 | 23,964 | 23,962 | 0 | 2 |
| Rust | 79 | 14,336 | 11,929 | 799 | 1,608 |
| HTML | 94 | 6,488 | 5,604 | 219 | 665 |
| Sass | 86 | 5,034 | 4,133 | 51 | 850 |
| SVG | 13 | 2,554 | 2,552 | 1 | 1 |
| Pascal | 3 | 1,850 | 1,447 | 64 | 339 |
| Shell | 17 | 1,217 | 944 | 108 | 165 |
| YAML | 10 | 868 | 791 | 41 | 36 |
| PowerShell | 7 | 712 | 497 | 146 | 69 |
| C | 4 | 622 | 423 | 97 | 102 |
| Visual Studio Project | 2 | 346 | 346 | 0 | 0 |
| JavaScript | 6 | 327 | 278 | 29 | 20 |
| CSS | 2 | 222 | 208 | 0 | 14 |
| BASH | 5 | 269 | 190 | 38 | 41 |
| Templ | 2 | 186 | 164 | 1 | 21 |
| TOML | 7 | 214 | 145 | 36 | 33 |
| C++ | 2 | 202 | 136 | 30 | 36 |
| Visual Studio Solution | 2 | 82 | 80 | 0 | 2 |
| VBScript | 2 | 122 | 71 | 30 | 21 |
| Dockerfile | 2 | 61 | 24 | 22 | 15 |
| SQL | 2 | 26 | 14 | 8 | 4 |
| INI | 1 | 10 | 8 | 0 | 2 |
| ReScript | 1 | 2 | 2 | 0 | 0 |
| XML | 1 | 2 | 2 | 0 | 0 |
| LESS | 1 | 4 | 1 | 2 | 1 |
| Markdown | 26 | 1,372 | 0 | 963 | 409 |
| Plain Text | 13 | 1,987 | 0 | 1,631 | 356 |

Top language: Go 45.4%. Generated on October 30, 2026. Canonical report: https://octocounts.com/github/safing/portmaster/commit/bffef134cd709d2a74295cd8450cf0c6231bd60d?reportId=77049f92a5ebbc7ba16db7afeb67f0985c719362be80a4c980fa910b3c6df083&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/safing/portmaster/commit/bffef134cd709d2a74295cd8450cf0c6231bd60d?reportId=77049f92a5ebbc7ba16db7afeb67f0985c719362be80a4c980fa910b3c6df083&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 safing/portmaster have?

safing/portmaster has 340,245 lines of code, plus 29,925 comment lines and 42,615 blank lines, for 412,785 total lines at commit bffef134cd70 on October 30, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the safing/portmaster line count measured?

OctoCounts resolved the public GitHub repository to commit bffef134cd70, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for safing/portmaster?

This OctoCounts report was generated from development at commit bffef134cd70 on October 30, 2026.

## Similar repository reports

- [karmada-io/karmada](https://octocounts.com/github/karmada-io/karmada) — Go, 339,543 code lines
- [Quad4-Software/Reticulum-Go](https://octocounts.com/github/Quad4-Software/Reticulum-Go) — Go, 343,078 code lines
- [openai/openai-go](https://octocounts.com/github/openai/openai-go) — Go, 334,581 code lines
- [chaitin/agent-compose](https://octocounts.com/github/chaitin/agent-compose) — Go, 347,709 code lines
- [moby/moby](https://octocounts.com/github/moby/moby) — Go, 352,921 code lines
- [krahets/hello-algo](https://octocounts.com/github/krahets/hello-algo) — Go, 359,582 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [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)
