# dotnet/efcore SLOC report

> dotnet/efcore: 394,898 code lines at commit 5bfb0ba65494, counted with tokei-15.0.0 on 2026-11-17. Saved result 931952b538ae3acfc78d96c729408b500f633300ab4993f7c63ef1d6259068a5.

dotnet/efcore has 394,898 source lines of code out of 659,934 total lines across 3,300 files, counted with tokei from the main ref at commit 5bfb0ba65494 on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving dotnet/efcore to commit 5bfb0ba65494, 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

dotnet/efcore: 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 59.8% of all lines, comments represent 29.8%, and the repository averages 120 code lines per file. C# accounts for 79.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C# | 2,989 | 573,505 | 315,340 | 192,599 | 65,566 |
| JSON | 20 | 54,518 | 54,518 | 0 | 0 |
| .NET Resource | 17 | 7,255 | 6,309 | 944 | 2 |
| YAML | 104 | 6,824 | 5,920 | 462 | 442 |
| PowerShell | 33 | 6,872 | 4,930 | 1,296 | 646 |
| Shell | 30 | 4,821 | 3,699 | 434 | 688 |
| MSBuild | 47 | 2,676 | 2,251 | 104 | 321 |
| JavaScript | 6 | 1,077 | 993 | 0 | 84 |
| CMake | 1 | 376 | 319 | 15 | 42 |
| Python | 1 | 411 | 310 | 14 | 87 |
| Batch | 13 | 115 | 89 | 6 | 20 |
| XML | 2 | 86 | 86 | 0 | 0 |
| Autoconf | 2 | 230 | 74 | 86 | 70 |
| NuGet Config | 2 | 46 | 36 | 10 | 0 |
| SQL | 1 | 28 | 19 | 1 | 8 |
| SVG | 1 | 5 | 5 | 0 | 0 |
| Markdown | 29 | 1,010 | 0 | 663 | 347 |
| Plain Text | 2 | 79 | 0 | 57 | 22 |

Top language: C# 79.9%. Generated on November 17, 2026. Canonical report: https://octocounts.com/github/dotnet/efcore/commit/5bfb0ba65494a13765b950da9219bd8268dedde1?reportId=931952b538ae3acfc78d96c729408b500f633300ab4993f7c63ef1d6259068a5&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/dotnet/efcore/commit/5bfb0ba65494a13765b950da9219bd8268dedde1?reportId=931952b538ae3acfc78d96c729408b500f633300ab4993f7c63ef1d6259068a5&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 dotnet/efcore have?

dotnet/efcore has 394,898 lines of code, plus 196,691 comment lines and 68,345 blank lines, for 659,934 total lines at commit 5bfb0ba65494 on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the dotnet/efcore line count measured?

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

### What commit was counted for dotnet/efcore?

This OctoCounts report was generated from main at commit 5bfb0ba65494 on November 17, 2026.

## Similar repository reports

- [Sonarr/Sonarr](https://octocounts.com/github/Sonarr/Sonarr) — C#, 380,266 code lines
- [AvaloniaUI/Avalonia](https://octocounts.com/github/AvaloniaUI/Avalonia) — C#, 419,532 code lines
- [microsoft/semantic-kernel](https://octocounts.com/github/microsoft/semantic-kernel) — C#, 420,992 code lines
- [blitzy-public-samples/StockSharp](https://octocounts.com/github/blitzy-public-samples/StockSharp) — C#, 433,986 code lines
- [openutau/OpenUtau](https://octocounts.com/github/openutau/OpenUtau) — C#, 355,157 code lines
- [Ciuntuc-BIM-Studio/lapin](https://octocounts.com/github/Ciuntuc-BIM-Studio/lapin) — C#, 349,055 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)
- [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)
