# FabricMC/fabric-api SLOC report

> FabricMC/fabric-api: 75,214 code lines at commit 495da79f6294, counted with tokei-15.0.0 on 2026-11-24. Saved result 485178df3cf1d45afee9bd8ee2cd5bf01095c600a50d0b998a056e27697bbe1b.

Source: [FabricMC/fabric-api on GitHub](https://github.com/FabricMC/fabric-api) · counted commit [495da79f6294](https://github.com/FabricMC/fabric-api/tree/495da79f62942fa2630b576ce2075536d37b8223)

FabricMC/fabric-api has 75,214 source lines of code out of 136,139 total lines across 1,901 files, counted with tokei from the 26.3 ref at commit 495da79f6294 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving FabricMC/fabric-api to commit 495da79f6294, 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

FabricMC/fabric-api: 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 medium-sized codebase by counted code lines. Code represents 55.2% of all lines, comments represent 32.2%, and the repository averages 40 code lines per file. Java accounts for 82.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 1,383 | 121,487 | 61,690 | 42,960 | 16,837 |
| JSON | 501 | 13,067 | 13,066 | 0 | 1 |
| XML | 1 | 354 | 247 | 72 | 35 |
| Shell | 1 | 248 | 103 | 119 | 26 |
| Batch | 1 | 112 | 73 | 20 | 19 |
| TOML | 1 | 22 | 20 | 0 | 2 |
| GLSL | 2 | 12 | 8 | 2 | 2 |
| YAML | 1 | 7 | 7 | 0 | 0 |
| Markdown | 10 | 830 | 0 | 625 | 205 |

Top language: Java 82.0%. Generated on November 24, 2026. Canonical report: https://octocounts.com/github/FabricMC/fabric-api/commit/495da79f62942fa2630b576ce2075536d37b8223?reportId=485178df3cf1d45afee9bd8ee2cd5bf01095c600a50d0b998a056e27697bbe1b&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/FabricMC/fabric-api/commit/495da79f62942fa2630b576ce2075536d37b8223?reportId=485178df3cf1d45afee9bd8ee2cd5bf01095c600a50d0b998a056e27697bbe1b&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 FabricMC/fabric-api have?

FabricMC/fabric-api has 75,214 lines of code, plus 43,798 comment lines and 17,127 blank lines, for 136,139 total lines at commit 495da79f6294 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the FabricMC/fabric-api line count measured?

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

### What commit was counted for FabricMC/fabric-api?

This OctoCounts report was generated from 26.3 at commit 495da79f6294 on November 24, 2026.

## Similar repository reports

- [utfpr-dv/siacoes](https://octocounts.com/github/utfpr-dv/siacoes) — Java, 75,795 code lines
- [viniciuspegorini/siacoes](https://octocounts.com/github/viniciuspegorini/siacoes) — Java, 75,891 code lines
- [MinecraftForge/MinecraftForge](https://octocounts.com/github/MinecraftForge/MinecraftForge) — Java, 76,113 code lines
- [bethington/ghidra-mcp](https://octocounts.com/github/bethington/ghidra-mcp) — Java, 73,911 code lines
- [MeteorDevelopment/meteor-client](https://octocounts.com/github/MeteorDevelopment/meteor-client) — Java, 78,961 code lines
- [NVIDIAGameWorks/rtx-remix-minecraft](https://octocounts.com/github/NVIDIAGameWorks/rtx-remix-minecraft) — Java, 80,610 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)
