safing/portmaster has 340,402 source lines of code out of 412,974 total lines across 1,617 files, counted with tokei from the development ref at commit ba00f816a40f on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-13 (commit ba00f816a40f), safing/portmaster contains 412,974 total lines: 340,402 code, 29,941 comments, 42,631 blank, across 1,617 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 ba00f816a40f, 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.3%, and the repository averages 211 code lines per file. Go accounts for 45.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 861 | 190877 | 154457 | 17192 | 19228 |
| C Header | 7 | 126928 | 107919 | 4810 | 14199 |
| TypeScript | 328 | 32042 | 24027 | 3623 | 4392 |
| JSON | 31 | 24012 | 24010 | 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-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.
safing/portmaster has 340,402 lines of code, plus 29,941 comment lines and 42,631 blank lines, for 412,974 total lines at commit ba00f816a40f on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit ba00f816a40f, 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 ba00f816a40f on November 13, 2026.
Play the growth animation for safing/portmaster on this page — 340,402 code lines across 30 languages, counted by tokei.