# Picovoice/porcupine SLOC report

> Picovoice/porcupine: 71,726 code lines at commit 4890e6f3ec6f, counted with tokei-15.0.0 on 2026-11-12. Saved result e8d00c30e60d76d24885c367682a722f892ff0efc593d41037ff1776f1fe8eb7.

Picovoice/porcupine has 71,726 source lines of code out of 129,530 total lines across 518 files, counted with tokei from the master ref at commit 4890e6f3ec6f on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving Picovoice/porcupine to commit 4890e6f3ec6f, 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.

## Counting rules and retention

Picovoice/porcupine: 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.

## Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 55.4% of all lines, comments represent 29.7%, and the repository averages 138 code lines per file. C Header accounts for 58.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C Header | 90 | 78,906 | 41,796 | 25,817 | 11,293 |
| C | 24 | 18,225 | 9,085 | 6,910 | 2,230 |
| Java | 50 | 5,414 | 3,915 | 704 | 795 |
| TypeScript | 27 | 3,057 | 2,281 | 417 | 359 |
| Swift | 24 | 2,441 | 1,796 | 332 | 313 |
| C# | 12 | 2,142 | 1,638 | 246 | 258 |
| Python | 18 | 2,166 | 1,579 | 150 | 437 |
| JSON | 38 | 1,424 | 1,424 | 0 | 0 |
| JavaScript | 31 | 1,506 | 1,243 | 66 | 197 |
| XML | 76 | 1,215 | 1,008 | 124 | 83 |
| Shell | 13 | 1,564 | 979 | 397 | 188 |
| TSX | 9 | 1,225 | 926 | 195 | 104 |
| Dart | 6 | 1,203 | 871 | 196 | 136 |
| Batch | 11 | 999 | 748 | 0 | 251 |
| HTML | 7 | 1,760 | 635 | 23 | 1,102 |
| BASH | 4 | 640 | 488 | 84 | 68 |
| MSBuild | 6 | 361 | 344 | 4 | 13 |
| GNU Style Assembly | 1 | 452 | 286 | 85 | 81 |
| Kotlin | 8 | 210 | 148 | 27 | 35 |
| LD Script | 1 | 177 | 116 | 38 | 23 |
| Prolog | 8 | 109 | 95 | 0 | 14 |
| Visual Studio Solution | 3 | 86 | 83 | 0 | 3 |
| YAML | 4 | 81 | 70 | 1 | 10 |
| AXAML | 2 | 50 | 49 | 0 | 1 |
| CSS | 2 | 51 | 45 | 0 | 6 |
| Objective-C | 2 | 73 | 39 | 23 | 11 |
| CMake | 2 | 35 | 29 | 0 | 6 |
| NuGet Config | 1 | 11 | 6 | 3 | 2 |
| Xcode Config | 2 | 4 | 4 | 0 | 0 |
| Markdown | 32 | 3,903 | 0 | 2,604 | 1,299 |
| Plain Text | 4 | 40 | 0 | 37 | 3 |

Top language: C Header 58.3%. Generated on November 12, 2026. Canonical report: https://octocounts.com/github/Picovoice/porcupine/commit/4890e6f3ec6f6976e2dae5a4bdffb0a95e3a5228?reportId=e8d00c30e60d76d24885c367682a722f892ff0efc593d41037ff1776f1fe8eb7&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/Picovoice/porcupine/commit/4890e6f3ec6f6976e2dae5a4bdffb0a95e3a5228?reportId=e8d00c30e60d76d24885c367682a722f892ff0efc593d41037ff1776f1fe8eb7&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does Picovoice/porcupine have?

Picovoice/porcupine has 71,726 lines of code, plus 38,483 comment lines and 19,321 blank lines, for 129,530 total lines at commit 4890e6f3ec6f on November 12, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the Picovoice/porcupine line count measured?

OctoCounts resolved the public GitHub repository to commit 4890e6f3ec6f, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for Picovoice/porcupine?

This OctoCounts report was generated from master at commit 4890e6f3ec6f on November 12, 2026.

## Similar repository reports

- [glfw/glfw](https://octocounts.com/github/glfw/glfw) — C Header, 72,353 code lines
- [CodingGay/BlackDex](https://octocounts.com/github/CodingGay/BlackDex) — C Header, 73,622 code lines
- [SciCompMod/memilio](https://octocounts.com/github/SciCompMod/memilio) — C Header, 68,328 code lines
- [floooh/sokol](https://octocounts.com/github/floooh/sokol) — C Header, 76,880 code lines
- [EndstoneMC/endstone](https://octocounts.com/github/EndstoneMC/endstone) — C Header, 77,051 code lines
- [kretash/D3D12_Vulkan-ProceduralCity](https://octocounts.com/github/kretash/D3D12_Vulkan-ProceduralCity) — C Header, 77,168 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
