# Opentrons/opentrons SLOC report

> As of 2026-11-18 (commit 4bae21dfd6f1), Opentrons/opentrons contains 2,120,811 total lines: 1,949,968 code, 56,050 comments, 114,793 blank, across 7,844 files in 25 languages (top programming language: Python 22.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

Opentrons/opentrons has 1,949,968 source lines of code out of 2,120,811 total lines across 7,844 files, counted with tokei from the edge ref at commit 4bae21dfd6f1 on November 18, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving Opentrons/opentrons to commit 4bae21dfd6f1, 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

Opentrons/opentrons: 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 very large codebase by counted code lines. Code represents 91.9% of all lines, comments represent 2.6%, and the repository averages 249 code lines per file. Python is the largest programming language at 22.3% of counted code; data and prose formats such as JSON or YAML hold a larger share.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 950 | 1,078,795 | 1,078,484 | 0 | 311 |
| Python | 2,162 | 525,732 | 434,161 | 26,977 | 64,594 |
| TSX | 1,853 | 222,159 | 200,922 | 3,847 | 17,390 |
| TypeScript | 2,261 | 195,067 | 169,244 | 8,879 | 16,944 |
| HEX | 1 | 23,010 | 23,010 | 0 | 0 |
| YAML | 7 | 22,734 | 18,000 | 3 | 4,731 |
| CSS | 302 | 17,096 | 14,178 | 465 | 2,453 |
| Makefile | 48 | 5,058 | 3,312 | 695 | 1,051 |
| JavaScript | 42 | 3,719 | 3,024 | 410 | 285 |
| TOML | 20 | 2,447 | 1,976 | 170 | 301 |
| SVG | 69 | 1,635 | 1,596 | 22 | 17 |
| Shell | 10 | 1,373 | 1,060 | 98 | 215 |

Top programming language: Python 22.3%. Generated on November 18, 2026. Canonical report: https://octocounts.com/github/Opentrons/opentrons

## Reproduce this report

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

## Report FAQ

### How many lines of code does Opentrons/opentrons have?

Opentrons/opentrons has 1,949,968 lines of code, plus 56,050 comment lines and 114,793 blank lines, for 2,120,811 total lines at commit 4bae21dfd6f1 on November 18, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the Opentrons/opentrons line count measured?

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

### What commit was counted for Opentrons/opentrons?

This OctoCounts report was generated from edge at commit 4bae21dfd6f1 on November 18, 2026.

## Similar repository reports

- [wikimedia/mediawiki](https://octocounts.com/github/wikimedia/mediawiki) — JSON, 1,947,790 code lines
- [a63976659/ComfyUI-Global-Translation](https://octocounts.com/github/a63976659/ComfyUI-Global-Translation) — JSON, 1,886,974 code lines
- [emmertex/chromaforge](https://octocounts.com/github/emmertex/chromaforge) — JSON, 2,043,792 code lines
- [beenuar/AiSOC](https://octocounts.com/github/beenuar/AiSOC) — JSON, 2,049,707 code lines
- [baserow/baserow](https://octocounts.com/github/baserow/baserow) — JSON, 2,053,173 code lines
- [dabiziluzhu55/citypulse-v2x-sim](https://octocounts.com/github/dabiziluzhu55/citypulse-v2x-sim) — JSON, 2,060,853 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [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)
