# GregTechCEu/GregTech-Modern SLOC report

> GregTechCEu/GregTech-Modern: 243,606 code lines at commit 6b1cf81615ed, counted with tokei-15.0.0 on 2026-11-24. Saved result dc956e649cd103bf64e929aec9a916b83fdcb478c682aca68d8e5edefc3578a4.

Source: [GregTechCEu/GregTech-Modern on GitHub](https://github.com/GregTechCEu/GregTech-Modern) · counted commit [6b1cf81615ed](https://github.com/GregTechCEu/GregTech-Modern/tree/6b1cf81615ed909f68336dc07e21281359a94bc2)

GregTechCEu/GregTech-Modern has 243,606 source lines of code out of 295,790 total lines across 2,474 files, counted with tokei from the 1.20.1 ref at commit 6b1cf81615ed on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving GregTechCEu/GregTech-Modern to commit 6b1cf81615ed, 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

GregTechCEu/GregTech-Modern: 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 82.4% of all lines, comments represent 6.0%, and the repository averages 98 code lines per file. Java accounts for 78.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 1,766 | 242,098 | 191,420 | 16,658 | 34,020 |
| JSON | 695 | 51,397 | 51,379 | 0 | 18 |
| XML | 1 | 400 | 400 | 0 | 0 |
| TOML | 3 | 214 | 188 | 2 | 24 |
| Shell | 1 | 249 | 106 | 117 | 26 |
| Batch | 1 | 92 | 71 | 0 | 21 |
| Forge Config | 1 | 36 | 24 | 3 | 9 |
| Nix | 1 | 20 | 18 | 0 | 2 |
| Markdown | 3 | 1,197 | 0 | 1,025 | 172 |
| Plain Text | 2 | 87 | 0 | 72 | 15 |

Top language: Java 78.6%. Generated on November 24, 2026. Canonical report: https://octocounts.com/github/GregTechCEu/GregTech-Modern/commit/6b1cf81615ed909f68336dc07e21281359a94bc2?reportId=dc956e649cd103bf64e929aec9a916b83fdcb478c682aca68d8e5edefc3578a4&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/GregTechCEu/GregTech-Modern/commit/6b1cf81615ed909f68336dc07e21281359a94bc2?reportId=dc956e649cd103bf64e929aec9a916b83fdcb478c682aca68d8e5edefc3578a4&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 GregTechCEu/GregTech-Modern have?

GregTechCEu/GregTech-Modern has 243,606 lines of code, plus 17,877 comment lines and 34,307 blank lines, for 295,790 total lines at commit 6b1cf81615ed on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the GregTechCEu/GregTech-Modern line count measured?

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

### What commit was counted for GregTechCEu/GregTech-Modern?

This OctoCounts report was generated from 1.20.1 at commit 6b1cf81615ed on November 24, 2026.

## Similar repository reports

- [JabRef/jabref](https://octocounts.com/github/JabRef/jabref) — Java, 247,491 code lines
- [spring-projects/spring-boot](https://octocounts.com/github/spring-projects/spring-boot) — Java, 247,825 code lines
- [AE2-Lightning-Tech-Reborn/AE2-Lightning-Tech-Reborn](https://octocounts.com/github/AE2-Lightning-Tech-Reborn/AE2-Lightning-Tech-Reborn) — Java, 235,429 code lines
- [DataLinkDC/dinky](https://octocounts.com/github/DataLinkDC/dinky) — Java, 234,352 code lines
- [mulesoft/mule](https://octocounts.com/github/mulesoft/mule) — Java, 233,173 code lines
- [andreknieriem/open-headunit](https://octocounts.com/github/andreknieriem/open-headunit) — Java, 255,316 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [Kubernetes vs Docker Compose](https://octocounts.com/compare/kubernetes-vs-docker-compose)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [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)
