# safing/portmaster SLOC report

> As of 2026-10-20 (commit b56aba0c89a8), safing/portmaster contains 411,870 total lines: 339,576 code, 29,785 comments, 42,509 blank, across 1,612 files in 30 languages (top: Go 45.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

safing/portmaster has 339,576 source lines of code out of 411,870 total lines across 1,612 files, counted from the development ref at commit b56aba0c89a8 by the OctoCounts tokei engine on 2026-10-20. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving safing/portmaster to commit b56aba0c89a8, 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 82.4% of all lines, comments represent 7.2%, and the repository averages 211 code lines per file. Go accounts for 45.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 856 | 189,935 | 153,763 | 17,062 | 19,110 |
| C Header | 7 | 126,928 | 107,919 | 4,810 | 14,199 |
| TypeScript | 328 | 31,988 | 24,003 | 3,597 | 4,388 |
| JSON | 31 | 23,904 | 23,902 | 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 |

Top language (Go 45.3%). Generated at 2026-10-20T01:55:11.303123074+00:00. Canonical report: https://octocounts.com/github/safing/portmaster

## Reproduce this report

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

## Report FAQ

### How many lines of code does safing/portmaster have?

safing/portmaster has 411,870 total lines, including 339,576 code lines, 29,785 comment lines, and 42,509 blank lines.

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

OctoCounts resolved the public GitHub repository to commit b56aba0c89a8, 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 b56aba0c89a8 on 2026-10-20T01:55:11.303123074+00:00.

## Similar repository reports

- [0xJacky/nginx-ui](https://octocounts.com/github/0xJacky/nginx-ui) — Go, 339,086 code lines
- [go-vikunja/vikunja](https://octocounts.com/github/go-vikunja/vikunja) — Go, 344,045 code lines
- [agent-substrate/substrate](https://octocounts.com/github/agent-substrate/substrate) — Go, 346,264 code lines
- [higress-group/higress](https://octocounts.com/github/higress-group/higress) — Go, 350,957 code lines
- [opensandbox-group/OpenSandbox](https://octocounts.com/github/opensandbox-group/OpenSandbox) — Go, 351,873 code lines
- [TykTechnologies/tyk](https://octocounts.com/github/TykTechnologies/tyk) — Go, 355,547 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)
- [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)
- [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)
