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.
As of 2026-10-30 (commit bffef134cd70), safing/portmaster contains 412,785 total lines: 340,245 code, 29,925 comments, 42,615 blank, across 1,615 files in 30 languages (top language: Go 45.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
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.
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 | 190736 | 154348 | 17176 | 19212 |
| C Header | 7 | 126928 | 107919 | 4810 | 14199 |
| TypeScript | 328 | 32042 | 24027 | 3623 | 4392 |
| JSON | 31 | 23964 | 23962 | 0 | 2 |
| Rust | 79 | 14336 | 11929 | 799 | 1608 |
| HTML | 94 | 6488 | 5604 | 219 | 665 |
| Sass | 86 | 5034 | 4133 | 51 | 850 |
| SVG | 13 | 2554 | 2552 | 1 | 1 |
| Pascal | 3 | 1850 | 1447 | 64 | 339 |
| Shell | 17 | 1217 | 944 | 108 | 165 |
| YAML | 10 | 868 | 791 | 41 | 36 |
| PowerShell | 7 | 712 | 497 | 146 | 69 |
Top language: Go 45.4%. Generated on .
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.
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.
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.
This OctoCounts report was generated from development at commit bffef134cd70 on October 30, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for safing/portmaster on this page — 340,245 code lines across 30 languages, counted by tokei.