# coreutils/coreutils SLOC report

> As of 2026-09-16 (commit 5f6c02d3447e), coreutils/coreutils contains 107,040 total lines: 77,493 code, 16,593 comments, 12,954 blank, across 368 files in 11 languages (top: C 86.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

coreutils/coreutils has 77,493 source lines of code out of 107,040 total lines across 368 files, counted from the 5f6c02d3447ee97c7fa02f5d0d6d6e46a8a1ceef ref at commit 5f6c02d3447e by the OctoCounts tokei engine on 2026-09-16. 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 coreutils/coreutils to commit 5f6c02d3447e, 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 medium-sized codebase by counted code lines. Code represents 72.4% of all lines, comments represent 15.5%, and the repository averages 211 code lines per file. C accounts for 86.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 170 | 92,729 | 67,314 | 13,878 | 11,537 |
| C Header | 56 | 6,170 | 4,035 | 1,480 | 655 |
| Makefile | 6 | 2,317 | 1,638 | 423 | 256 |
| Alex | 108 | 951 | 942 | 0 | 9 |
| Perl | 4 | 1,188 | 902 | 168 | 118 |
| Autoconf | 4 | 875 | 844 | 20 | 11 |
| Shell | 11 | 1,124 | 737 | 249 | 138 |
| Forge Config | 1 | 889 | 599 | 169 | 121 |
| M4 | 5 | 501 | 292 | 138 | 71 |
| Automake | 2 | 239 | 155 | 55 | 29 |
| BASH | 1 | 57 | 35 | 13 | 9 |

Top language (C 86.9%). Generated at 2026-09-16T18:32:12.622916880+00:00. Canonical report: https://octocounts.com/github/coreutils/coreutils

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/coreutils/coreutils/commit/5f6c02d3447ee97c7fa02f5d0d6d6e46a8a1ceef?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 coreutils/coreutils have?

coreutils/coreutils has 107,040 total lines, including 77,493 code lines, 16,593 comment lines, and 12,954 blank lines.

### How was the coreutils/coreutils line count measured?

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

### What commit was counted for coreutils/coreutils?

This OctoCounts report was generated from 5f6c02d3447ee97c7fa02f5d0d6d6e46a8a1ceef at commit 5f6c02d3447e on 2026-09-16T18:32:12.622916880+00:00.

## Similar repository reports

- [facebook/zstd](https://octocounts.com/github/facebook/zstd) — C, 76,962 code lines
- [ithewei/libhv](https://octocounts.com/github/ithewei/libhv) — C, 80,309 code lines
- [emqx/neuron](https://octocounts.com/github/emqx/neuron) — C, 71,975 code lines
- [apache/apr](https://octocounts.com/github/apache/apr) — C, 85,262 code lines
- [AstraThreshold/oled-ui-astra](https://octocounts.com/github/AstraThreshold/oled-ui-astra) — C, 85,505 code lines
- [linux-pam/linux-pam](https://octocounts.com/github/linux-pam/linux-pam) — C, 69,002 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)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [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)
