commaai/openpilot has 95,853 source lines of code out of 124,810 total lines across 788 files, counted with tokei from the master ref at commit c80dad77dac3 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
commaai/openpilot: 95,853 code lines at commit c80dad77dac3, counted with tokei-15.0.0 on 2026-11-14. Saved result aa2d75fa81b97ea3beb8d784ef0a5927f8a24597ff72ea8d8c187176c1b6d089.
OctoCounts produced this report by resolving commaai/openpilot to commit c80dad77dac3, 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 medium-sized codebase by counted code lines. Code represents 76.8% of all lines, comments represent 7.2%, and the repository averages 122 code lines per file. Python accounts for 48.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 413 | 59777 | 46226 | 2664 | 10887 |
| C++ | 113 | 35697 | 30891 | 890 | 3916 |
| C Header | 117 | 10060 | 8238 | 432 | 1390 |
| PO File | 14 | 11194 | 5608 | 2856 | 2730 |
| XML | 14 | 1525 | 1448 | 59 | 18 |
| Shell | 33 | 1834 | 1379 | 162 | 293 |
| Scons | 13 | 876 | 704 | 40 | 132 |
| JSON | 21 | 583 | 583 | 0 | 0 |
| Jupyter Notebooks | 6 | 425 | 309 | 13 | 103 |
| TOML | 2 | 356 | 268 | 25 | 63 |
| C | 1 | 88 | 74 | 5 | 9 |
| HTML | 2 | 71 | 71 | 0 | 0 |
| SVG | 16 | 48 | 48 | 0 | 0 |
| BASH | 1 | 7 | 6 | 1 | 0 |
| Markdown | 22 | 2269 | 0 | 1839 | 430 |
Top language: Python 48.2%. Generated on .
commaai/openpilot: 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.
commaai/openpilot has 95,853 lines of code, plus 8,986 comment lines and 19,971 blank lines, for 124,810 total lines at commit c80dad77dac3 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit c80dad77dac3, 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 master at commit c80dad77dac3 on November 14, 2026.
Play the growth animation for commaai/openpilot on this page — 95,853 code lines across 15 languages, counted by tokei.