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.
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.
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.
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 | 189935 | 153763 | 17062 | 19110 |
| C Header | 7 | 126928 | 107919 | 4810 | 14199 |
| TypeScript | 328 | 31988 | 24003 | 3597 | 4388 |
| JSON | 31 | 23904 | 23902 | 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.3%). Generated at .
safing/portmaster has 411,870 total lines, including 339,576 code lines, 29,785 comment lines, and 42,509 blank lines.
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.
This OctoCounts report was generated from development at commit b56aba0c89a8 on 2026-10-20T01:55:11.303123074+00:00.
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 — 339,576 code lines across 12 languages, counted by tokei.