# openc3/cosmos SLOC report

> As of 2026-08-27 (commit 53caa5c39f87), openc3/cosmos contains 308,147 total lines: 227,540 code, 46,829 comments, 33,778 blank, across 1,999 files in 24 languages (top: Ruby 51.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

openc3/cosmos has 227,540 source lines of code out of 308,147 total lines across 1,999 files, counted from the main ref at commit 53caa5c39f87 by the OctoCounts tokei engine on 2026-08-27. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving openc3/cosmos to commit 53caa5c39f87, 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.

## Repository size insights

This is a large codebase by counted code lines. Code represents 73.8% of all lines, comments represent 15.2%, and the repository averages 114 code lines per file. Ruby accounts for 51.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Ruby | 803 | 159,117 | 117,968 | 22,907 | 18,242 |
| Python | 304 | 53,843 | 39,334 | 8,055 | 6,454 |
| JavaScript | 200 | 31,507 | 28,150 | 2,468 | 889 |
| YAML | 51 | 25,864 | 21,341 | 969 | 3,554 |
| Vue | 231 | 10,170 | 6,140 | 3,416 | 614 |
| Shell | 28 | 4,824 | 3,754 | 635 | 435 |
| C | 13 | 4,246 | 3,164 | 680 | 402 |
| Sass | 23 | 2,230 | 1,743 | 175 | 312 |
| JSON | 51 | 1,341 | 1,336 | 0 | 5 |
| Batch | 8 | 1,405 | 1,169 | 112 | 124 |
| CSS | 10 | 1,118 | 902 | 89 | 127 |
| Rakefile | 27 | 1,082 | 597 | 350 | 135 |

Top language (Ruby 51.8%). Generated at 2026-08-27T03:09:03.677226215+00:00. Canonical report: https://octocounts.com/github/openc3/cosmos

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/openc3/cosmos/commit/53caa5c39f87bec185658268b9c0010f9ae36651?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).

## Report FAQ

### How many lines of code does openc3/cosmos have?

openc3/cosmos has 308,147 total lines, including 227,540 code lines, 46,829 comment lines, and 33,778 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 53caa5c39f87, 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 53caa5c39f87 on 2026-08-27T03:09:03.677226215+00:00.

## Similar repository reports

- [rails/rails](https://octocounts.com/github/rails/rails) — Ruby, 138,140 code lines
- [rubygems/bundler](https://octocounts.com/github/rubygems/bundler) — Ruby, 48,869 code lines
- [jekyll/jekyll](https://octocounts.com/github/jekyll/jekyll) — Ruby, 28,177 code lines
- [sidekiq/sidekiq](https://octocounts.com/github/sidekiq/sidekiq) — Ruby, 13,599 code lines
- [sinatra/sinatra](https://octocounts.com/github/sinatra/sinatra) — Ruby, 10,079 code lines
- [ramsayleung/bayes_spam_sniper](https://octocounts.com/github/ramsayleung/bayes_spam_sniper) — Ruby, 6,701 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)
- [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)
