# OpenC3/cosmos SLOC report

> OpenC3/cosmos: 257,021 code lines at commit 0844a5e062df, counted with tokei-15.0.0 on 2026-11-16. Saved result 70887aef611c67a65d2cdb23617b0f5e5b05762288da92e031fad0778b39a9c5.

OpenC3/cosmos has 257,021 source lines of code out of 354,519 total lines across 2,213 files, counted with tokei from the main ref at commit 0844a5e062df on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving OpenC3/cosmos to commit 0844a5e062df, 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

OpenC3/cosmos: 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 large codebase by counted code lines. Code represents 72.5% of all lines, comments represent 16.7%, and the repository averages 116 code lines per file. Ruby accounts for 52.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Ruby | 868 | 181,010 | 133,704 | 26,551 | 20,755 |
| Python | 320 | 61,038 | 44,533 | 9,293 | 7,212 |
| JavaScript | 249 | 38,110 | 32,811 | 4,010 | 1,289 |
| YAML | 58 | 26,265 | 21,343 | 1,308 | 3,614 |
| Vue | 284 | 12,604 | 7,775 | 4,062 | 767 |
| Shell | 30 | 6,335 | 4,773 | 1,001 | 561 |
| C | 13 | 4,287 | 3,187 | 695 | 405 |
| Sass | 24 | 2,526 | 1,969 | 226 | 331 |
| JSON | 54 | 1,350 | 1,345 | 0 | 5 |
| Batch | 8 | 1,565 | 1,279 | 150 | 136 |
| CSS | 10 | 1,118 | 902 | 89 | 127 |
| SVG | 13 | 883 | 812 | 15 | 56 |
| Rakefile | 29 | 1,144 | 635 | 367 | 142 |
| Dockerfile | 11 | 1,032 | 571 | 308 | 153 |
| Just | 5 | 783 | 409 | 232 | 142 |
| TypeScript | 14 | 570 | 373 | 149 | 48 |
| TOML | 3 | 456 | 244 | 171 | 41 |
| JSX | 2 | 261 | 228 | 7 | 26 |
| HTML | 5 | 153 | 102 | 42 | 9 |
| Svelte | 1 | 25 | 22 | 0 | 3 |
| Autoconf | 1 | 5 | 2 | 2 | 1 |
| Forge Config | 1 | 5 | 2 | 3 | 0 |
| Markdown | 78 | 5,364 | 0 | 3,355 | 2,009 |
| Plain Text | 132 | 7,630 | 0 | 7,202 | 428 |

Top language: Ruby 52.0%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/OpenC3/cosmos/commit/0844a5e062dfe93ccb36d195e8f2610b1e00db32?reportId=70887aef611c67a65d2cdb23617b0f5e5b05762288da92e031fad0778b39a9c5&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/OpenC3/cosmos/commit/0844a5e062dfe93ccb36d195e8f2610b1e00db32?reportId=70887aef611c67a65d2cdb23617b0f5e5b05762288da92e031fad0778b39a9c5&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 OpenC3/cosmos have?

OpenC3/cosmos has 257,021 lines of code, plus 59,238 comment lines and 38,260 blank lines, for 354,519 total lines at commit 0844a5e062df on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the OpenC3/cosmos line count measured?

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

### What commit was counted for OpenC3/cosmos?

This OctoCounts report was generated from main at commit 0844a5e062df on November 16, 2026.

## Similar repository reports

- [rails/rails](https://octocounts.com/github/rails/rails) — Ruby, 144,543 code lines
- [Homebrew/homebrew-core](https://octocounts.com/github/Homebrew/homebrew-core) — Ruby, 474,674 code lines
- [ruby/rubygems](https://octocounts.com/github/ruby/rubygems) — Ruby, 102,416 code lines
- [blitzy-public-samples/blitzy-rubygems](https://octocounts.com/github/blitzy-public-samples/blitzy-rubygems) — Ruby, 86,972 code lines
- [discourse/discourse](https://octocounts.com/github/discourse/discourse) — Ruby, 1,850,161 code lines
- [openjournals/joss](https://octocounts.com/github/openjournals/joss) — Ruby, 20,654 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)
- [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)
