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.
safing/portmaster: 340,402 code lines at commit ba00f816a40f, counted with tokei-15.0.0 on 2026-11-13. Saved result c09a65365b45233800d812201d43e64ed1fedf32daab0e144b5050ccd1e04ac4.
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 |
| 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 | 1372 | 0 | 963 | 409 |
| Plain Text | 13 | 1987 | 0 | 1631 | 356 |
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.
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,402 code lines across 30 languages, counted by tokei.