safing/portmaster

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.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
Go8611908771544571719219228
C Header7126928107919481014199
TypeScript328320422402736234392
JSON31240122401002
Rust7914336119297991608
HTML9464885604219665
Sass865034413351850
SVG132554255211
Pascal31850144764339
Shell171217944108165
YAML108687914136
PowerShell771249714669

Top language: Go 45.4%. Generated on .

Counting rules and retention

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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does safing/portmaster have?

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.

How was the safing/portmaster line count measured?

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.

What commit was counted for safing/portmaster?

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.