# microsoft/semantic-kernel SLOC report

> microsoft/semantic-kernel: 420,901 code lines at commit df1cb33d0d32, counted with tokei-15.0.0 on 2026-11-05. Saved result 6627b012a653c51644b60e5a3f80db42fe1d4e3fc7038f2aaa05194d50f0dd7c.

Source: [microsoft/semantic-kernel on GitHub](https://github.com/microsoft/semantic-kernel) · counted commit [df1cb33d0d32](https://github.com/microsoft/semantic-kernel/tree/df1cb33d0d32699c8d6a2e5b3ea7e5f8990d86d5)

microsoft/semantic-kernel has 420,901 source lines of code out of 624,499 total lines across 4,147 files, counted with tokei from the main ref at commit df1cb33d0d32 on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving microsoft/semantic-kernel to commit df1cb33d0d32, 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

microsoft/semantic-kernel: 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 67.4% of all lines, comments represent 20.9%, and the repository averages 101 code lines per file. C# accounts for 52.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C# | 2,388 | 333,795 | 220,727 | 63,588 | 49,480 |
| Python | 929 | 124,346 | 100,143 | 6,538 | 17,665 |
| JSON | 241 | 84,126 | 84,116 | 0 | 10 |
| MSBuild | 169 | 6,026 | 5,106 | 164 | 756 |
| YAML | 47 | 4,863 | 4,823 | 5 | 35 |
| Jupyter Notebooks | 28 | 4,709 | 2,641 | 1,191 | 877 |
| TSX | 8 | 1,299 | 1,166 | 38 | 95 |
| CSS | 8 | 556 | 462 | 18 | 76 |
| Bicep | 8 | 409 | 359 | 11 | 39 |
| TOML | 4 | 384 | 337 | 13 | 34 |
| TypeScript | 14 | 284 | 198 | 50 | 36 |
| Razor | 7 | 193 | 161 | 1 | 31 |
| Handlebars | 1 | 116 | 101 | 4 | 11 |
| PowerShell | 3 | 180 | 94 | 57 | 29 |
| Protocol Buffers | 3 | 113 | 83 | 8 | 22 |
| Makefile | 1 | 109 | 72 | 26 | 11 |
| F# | 1 | 86 | 67 | 1 | 18 |
| .NET Resource | 1 | 123 | 64 | 59 | 0 |
| JavaScript | 2 | 64 | 54 | 8 | 2 |
| Visual Studio Solution | 2 | 48 | 48 | 0 | 0 |
| HTML | 2 | 26 | 26 | 0 | 0 |
| INI | 1 | 25 | 16 | 2 | 7 |
| XML | 2 | 14 | 12 | 2 | 0 |
| Dockerfile | 1 | 23 | 10 | 6 | 7 |
| Shell | 1 | 13 | 6 | 2 | 5 |
| Batch | 1 | 5 | 5 | 0 | 0 |
| SVG | 4 | 4 | 4 | 0 | 0 |
| Markdown | 139 | 9,274 | 0 | 6,400 | 2,874 |
| Plain Text | 131 | 53,286 | 0 | 52,313 | 973 |

Top language: C# 52.4%. Generated on November 5, 2026. Canonical report: https://octocounts.com/github/microsoft/semantic-kernel/commit/df1cb33d0d32699c8d6a2e5b3ea7e5f8990d86d5?reportId=6627b012a653c51644b60e5a3f80db42fe1d4e3fc7038f2aaa05194d50f0dd7c&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/microsoft/semantic-kernel/commit/df1cb33d0d32699c8d6a2e5b3ea7e5f8990d86d5?reportId=6627b012a653c51644b60e5a3f80db42fe1d4e3fc7038f2aaa05194d50f0dd7c&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 microsoft/semantic-kernel have?

microsoft/semantic-kernel has 420,901 lines of code, plus 130,505 comment lines and 73,093 blank lines, for 624,499 total lines at commit df1cb33d0d32 on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the microsoft/semantic-kernel line count measured?

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

### What commit was counted for microsoft/semantic-kernel?

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

## Similar repository reports

- [AvaloniaUI/Avalonia](https://octocounts.com/github/AvaloniaUI/Avalonia) — C#, 419,775 code lines
- [Squidex/squidex](https://octocounts.com/github/Squidex/squidex) — C#, 416,138 code lines
- [blitzy-public-samples/StockSharp](https://octocounts.com/github/blitzy-public-samples/StockSharp) — C#, 433,986 code lines
- [dotnet/efcore](https://octocounts.com/github/dotnet/efcore) — C#, 396,736 code lines
- [Ciuntuc-BIM-Studio/lapin](https://octocounts.com/github/Ciuntuc-BIM-Studio/lapin) — C#, 461,927 code lines
- [Sonarr/Sonarr](https://octocounts.com/github/Sonarr/Sonarr) — C#, 381,251 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)
- [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)
