# open-telemetry/opentelemetry-dotnet SLOC report

> As of 2026-11-16 (commit d51cc0f33dc0), open-telemetry/opentelemetry-dotnet contains 100,461 total lines: 54,572 code, 29,583 comments, 16,306 blank, across 661 files in 11 languages (top language: C# 91.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

open-telemetry/opentelemetry-dotnet has 54,572 source lines of code out of 100,461 total lines across 661 files, counted with tokei from the main ref at commit d51cc0f33dc0 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving open-telemetry/opentelemetry-dotnet to commit d51cc0f33dc0, 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

open-telemetry/opentelemetry-dotnet: 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 54.3% of all lines, comments represent 29.4%, and the repository averages 83 code lines per file. C# accounts for 91.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C# | 548 | 78,384 | 49,902 | 16,931 | 11,551 |
| JSON | 10 | 2,857 | 2,857 | 0 | 0 |
| MSBuild | 29 | 904 | 703 | 68 | 133 |
| Protocol Buffers | 14 | 2,695 | 555 | 1,852 | 288 |
| PowerShell | 1 | 301 | 190 | 54 | 57 |
| F# | 4 | 265 | 170 | 45 | 50 |
| YAML | 10 | 188 | 152 | 22 | 14 |
| Dockerfile | 2 | 37 | 30 | 0 | 7 |
| NuGet Config | 1 | 17 | 13 | 2 | 2 |
| Markdown | 40 | 14,564 | 0 | 10,405 | 4,159 |
| Plain Text | 2 | 249 | 0 | 204 | 45 |

Top language: C# 91.4%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/open-telemetry/opentelemetry-dotnet

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/open-telemetry/opentelemetry-dotnet/commit/d51cc0f33dc056df5db24964c4fe2329c768b7bd?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&reportId=a392de00801ed8ddd494f090faefd3b3a19286e3093fd084c72a1b2cea9bf07d).

## Report FAQ

### How many lines of code does open-telemetry/opentelemetry-dotnet have?

open-telemetry/opentelemetry-dotnet has 54,572 lines of code, plus 29,583 comment lines and 16,306 blank lines, for 100,461 total lines at commit d51cc0f33dc0 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the open-telemetry/opentelemetry-dotnet line count measured?

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

### What commit was counted for open-telemetry/opentelemetry-dotnet?

This OctoCounts report was generated from main at commit d51cc0f33dc0 on November 16, 2026.

## Similar repository reports

- [actbit/DotnetVM](https://octocounts.com/github/actbit/DotnetVM) — C#, 56,395 code lines
- [leafxdd/musictag-recovered](https://octocounts.com/github/leafxdd/musictag-recovered) — C#, 51,873 code lines
- [AlLHHH/ALH-Pro](https://octocounts.com/github/AlLHHH/ALH-Pro) — C#, 63,199 code lines
- [digimezzo/dopamine-windows](https://octocounts.com/github/digimezzo/dopamine-windows) — C#, 64,441 code lines
- [microsoft/calculator](https://octocounts.com/github/microsoft/calculator) — C#, 66,712 code lines
- [ANYNC/TaskbarLyrics](https://octocounts.com/github/ANYNC/TaskbarLyrics) — C#, 68,422 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)
